文章分类 -  Python自学

用来记录自学Python的全过程。
摘要:1,使用while循环输出 1~10 count = 0 while count < 10: count += 1 #count = count + 1 print('count') 2,当等于7 的时候输出空格 3,等于7的时候,不输出空格,继续打印8 方法1/2: 阅读全文
posted @ 2019-06-03 18:16 JMay 阅读(66) 评论(0) 推荐(0)
摘要:打印输出: 1,你好,python! 1 print('你好,python!') 2,input,用户交互 1 name = input('请输入您的姓名:') 2 age = int(input('请输入您的年龄:')) 3 print('您好:',name) 4 print('您的年龄是:',a 阅读全文
posted @ 2019-06-03 11:30 JMay 阅读(92) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2019-06-03 11:22 JMay 阅读(4) 评论(0) 推荐(0)