摘要: num1 = 10 num2 = 9 result1 = num1+num2 result2 = num1-num2 result3 = num1*num2 result4 = num1/num2 result5 = num1%num2 print('四则运算结果',result1,result2, 阅读全文
posted @ 2020-10-26 10:17 顾涛 阅读(21) 评论(0) 推荐(0)
摘要: print('hello word !') print('你好','世界',sep='-',end='!') print('我喜欢python',end='!\n\n') print('名字:张三',end='') print('年龄:20') 运行结果 hello word ! 你好-世界!我喜欢 阅读全文
posted @ 2020-10-26 10:09 顾涛 阅读(31) 评论(0) 推荐(0)