撇嘴看天空

导航

2020年2月19日

python 猜数字

摘要: 方法一 import randomif __name__ == '__main__': yourname = input("你好! 你的名字是什么?\n"); print ("欢迎来到猜数字游戏 ." + yourname) print ("我猜了一个数字在1到20之间, 你能猜到它吗?") ran 阅读全文

posted @ 2020-02-19 08:28 撇嘴看天空 阅读(190) 评论(0) 推荐(0) 编辑