鱼C论坛

 找回密码
 立即注册
分享 python有趣的部分
2017-11-10 21:42
开始学习python,亲自动手编的第一个小程序,不知道为什么第一次觉得猜数字也如此有趣,很开心, 分享一下,继续前行。。。。。。 import random secrit=random.randint( 1 , 100 ) temp = input ( "亲请猜一下我想的数字:" ) while temp.isdigit()!= 1 : print ( '抱歉,输入不合法' ) temp= input ( "请 ...
个人分类: 有趣代码|202 次阅读|0 个评论

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-4-19 23:52

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

返回顶部