阅读背景:

格式化输出/对齐宽度字段

来源:互联网 

I have to left-justify the station names and right-justify the number results in the example below for an assignment, ie Vegan Station needs to be left-justified in a field of width 15, but when I try it gives me an error for the %2d for the result. If anyone could help me understand how to correctly format it I'd really appreciate it.I have to left-justify the station names and ri




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: