摘要:
if语句: 第一种 count = 5 if count == 5: print( count ) 第二种 count = 5 if count == 5: print( count ) else: print (count) 第三种 if count == 5: print( count ) el 阅读全文
posted @ 2016-11-17 23:32
.背锅侠
阅读(403)
评论(0)
推荐(0)
摘要:
物理行:就是程序员所写代码的所在行。 逻辑行:是指源代码经过预编译后,代码所在的那一行。 Python假定每个物理行都对应着一个逻辑行。例如:print( "Hello World" ) 就是一个物理行,Python希望每行只有一个语句,因为这样看起来更加易读。 如果你想要在一个物理行中使用多于一个 阅读全文
posted @ 2016-11-17 22:25
.背锅侠
阅读(2258)
评论(0)
推荐(0)
浙公网安备 33010602011771号