摘要:
定义函数: 1 def greet_users(names): #names是形参 2 """Print a simple greeting to each user in the list.""" 3 for name in names: 4 msg = "Hello, " + name.titl 阅读全文
posted @ 2020-04-23 22:45
bowuwb
阅读(236)
评论(0)
推荐(0)
摘要:
函数input() 比较大小要同类型: age=iput() 21 age=int(age) age>=10 true 1 prompt = "If you tell us who you are, we can personalize the messages you see." 2 prompt 阅读全文
posted @ 2020-04-23 16:24
bowuwb
阅读(218)
评论(0)
推荐(0)

浙公网安备 33010602011771号