input:会将用户输入的任意内容都存成字符串类型
name=input(‘请输您的账号:’)
print(name,type(name))
print:
res=11111
print(res,1,2,3,4,5,6)
print('hello world',end=' ') // end=' ' 不换行 end='\n'换行
print('my name is xxx')
格式化输出
name=input(‘请输入您的名字:’)
age=input(‘请输入您的年龄:’)
msg='my name is %s my age is %s' %(name,age) //%s表示任意数据类型占位
print(msg)
print(my age is %s' %s10)
print('my age is %s' %[1,2,3])
print('my age is %d' %[1,2,3])