python2和python3的不同
摘要:
在输出方面 Old: print "The answer is", 2*2 New: print("The answer is", 2*2) Old: print x, # Trailing comma suppresses newline New: print(x, end=" ") # Appe 阅读全文
posted @ 2018-04-16 21:59 Aaron12 阅读(107) 评论(0) 推荐(0) 编辑