摘要:
#!/usr/bin/python #coding=utf-8 #好好学习,天天向上 a = 1 while a <= 6: print(a) a = a + 1 #!/usr/bin/python #coding=utf-8 #好好学习,天天向上 a = 1 while a <= 6: a = a 阅读全文
posted @ 2021-01-04 22:04
tigergaonotes
阅读(71)
评论(0)
推荐(0)
摘要:
#!/usr/bin/python #coding=utf-8 #好好学习,天天向上 number = input("please enter a number:") number=int(number) if number % 2 ==0: print(f"the number {number} 阅读全文
posted @ 2021-01-04 21:58
tigergaonotes
阅读(259)
评论(0)
推荐(0)
摘要:
函数 input() 让程序暂停运行,等待用户输入值,之后再把值赋给变量,输出. 阅读全文
posted @ 2021-01-04 21:52
tigergaonotes
阅读(83)
评论(0)
推荐(0)

浙公网安备 33010602011771号