输出自动添加空格 123456 >>>print('hello world')hello world>>>print('The quick brown fox', 'jumps over', 'the lazy dog')The quick brown fox jumps over the lazy dog>>>print('1024 * 768 =',1024*768)1024 * 768 = 786432 输入 12 >>>name=input('please input your name:')>>>print('name:',name) 采用缩进方式当语句以冒号:结尾时,缩进的语句视为代码块Python程序是大小写敏感的使用4个空格的缩进以#开头的语句是注释 赞微海报分享
近期评论