摘要:
#!/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 阅读全文
摘要:
#!/usr/bin/python #coding=utf-8 #好好学习,天天向上 number = input("please enter a number:") number=int(number) if number % 2 ==0: print(f"the number {number} 阅读全文
摘要:
函数 input() 让程序暂停运行,等待用户输入值,之后再把值赋给变量,输出. 阅读全文