控制理论与人工智能
txlapollo
这个作者很懒,什么都没留下…
展开
-
python打印1至100之间偶数
counter=1s=0while counter<=100: counter+=1 s+=counterprint(s)原创 2020-09-13 21:40:33 · 3337 阅读 · 0 评论 -
python猜价格小游戏
while True: my_price=float(input('输入您的价格:')) if(my_price>100): print('你输入大了,请重新输入') elif(my_price<100): print('你输入小了,请重新输入') else: print('输入正确!') break...原创 2020-09-13 21:39:44 · 3160 阅读 · 0 评论 -
python输入帐号密码判定
user='user'My_Codebz='123'while True: My_Username=input('请输入您的帐号:') My_Code=input('请输入您的密码:') if My_Username==user and My_Code==My_Codebz: print('输入正确,充许登录') break else: print('输入错误请重新输入!')...原创 2020-09-13 21:38:53 · 3333 阅读 · 0 评论 -
2020-09-13猜人名小游戏原代码万门大学Python课程(https://www.wanmen.org/courses/5f0e60a93b71b90206008309/lectures/5f)
import randomimport timecharacter_1='他是巨星'character_2='他是篮球健将'character_3='他身高超过2米'character_4='他爱国'character_5='他是北京申办冬奥会形象大使之一'character_6='他是NBA球星麦蒂的队友'character_7='他喜欢做慈善'character_8='他是上海人'character_9='汶川地震他捐款1600万'character_10='他是中国人'the_原创 2020-09-13 17:51:12 · 1592 阅读 · 0 评论