输出:print('something' , 'something')
遇到逗号显示空格,'some'some直接打印出来
print('a+b=','100+200')
a+b= 100+200
print('please','not''do' 'this')///////////逗号是空格,而空格不是空格,‘some’ 里面作为字符处理
please notdothis
输入:name = input() //////////////等待输入
liuhao ////////////你所输入的
>>> name //////////此时保存好,进行验证
'liuhao'
print('hello,',name)
hello, liuhao
此处name作为字符保存 name == ‘liuhao’,而print如之前所说,逗号为空格,‘ ’里面为字符
name = input('please enter your name: ')
这样会更好,因为括号会提示你