Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/328.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
新的Python程序员如何更容易/更好地完成这项工作?_Python - Fatal编程技术网

新的Python程序员如何更容易/更好地完成这项工作?

新的Python程序员如何更容易/更好地完成这项工作?,python,Python,项目规则: 我在Python 3.4中的项目代码: for x in reversed (range(2, 100)): print(x,end="") print (" bottles beer on the wall take one down ",end="") print ("pass it round now ",end="") print (x-1) b = 1 c = 0 print (b,end="") print (" bottle beer pass around no

项目规则:

我在Python 3.4中的项目代码:

for x in reversed (range(2, 100)):
print(x,end="") 
print (" bottles beer on the wall take one down ",end="")
print ("pass it round now ",end="") 
print (x-1)

b = 1
c = 0
print (b,end="")
print (" bottle beer pass around now ", end="")
print (c,end="")
print (" bottles left ! aw man I get no beer :(")`
扰流板警报

正如评论中所说的那样,使用缩进时要特别小心! 如果你想要一个没有缩进的版本


要有创意,使用这些链接只是为了获得灵感。

请在外部文档中详细说明具体问题,无需说明。并重新考虑您的缩进。。