今天,我们学习Python的输出
python使用
print ('')
这跟函数来输出。
来试试!!!!
1.输出 hello
print (hello)
输出后的结果
hello
二、再看一个例子
user_name = 'mingming'
user_age = 8
#同时输出多个变量和字符串
print("读者名:",user_name,"年龄:",user_age)
输出后
读者名: mingming 年龄: 8
你们也来试试吧
print ()