摘要: 一、内容回顾 1.多行注释也等于多行打印 python中单引号与双引号是一样的 msg='''hello1 hello2 hello3''' print(msg) #结果: #hello1 #hello2 #hello3 1.for、if、while(break、continue)循环 用户登录 可 阅读全文
posted @ 2023-01-06 13:17 不等闲 阅读(19) 评论(0) 推荐(0)
摘要: 一、用户交互 1.猜年龄 death_age=80 name=input("your name:") age=int(input("your age:")) print("your name "name) print("you can still live for"death_age-age"yea 阅读全文
posted @ 2023-01-05 09:45 不等闲 阅读(25) 评论(0) 推荐(0)
摘要: 一、python介绍 ①发展史被解救的姜戈2.4 50万行Python 2.6 - October 1, 2008Python 2.6.1 - October 1, 2008Python 2.6.6 - October 1, 2008Python 3.0 - December 3, 2008Pyth 阅读全文
posted @ 2023-01-04 09:38 不等闲 阅读(23) 评论(0) 推荐(0)