![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
作者
Nasser_纳赛尔
这个作者很懒,什么都没留下…
展开
-
python-长春大学小地图(第二天)
这就是我今天所做的小地图,使用了python 来做。 就是告诉你如何你在长大的门口想去这三个地方(图书馆,足球场,综合楼)往哪里走。by typing “go”+ “方向” you’ll easily get your destination. def showInstructions(): print(''' 长春大学 ======== Commands: go [dire...原创 2018-12-26 23:18:08 · 263 阅读 · 0 评论 -
Python-代码输入一段字符串大小写转换(第六天)
||a program that accepts sequence of lines as input and prints the lines after making all characters in the sentence capitalized. ||一种程序,它能接受行序列作为输入,并在把句子中的所有字符输出为大小写转换 sentence = input("enter the st...原创 2019-01-03 16:52:36 · 646 阅读 · 0 评论 -
Python-simple password generator (第一天)
Simple_password_generator Python-simple password generator #简单密码生成器 1) Random characters & numbers #Create a list of characters & numbers, stored in a variable called chars. #To choose原创 2018-12-25 22:54:03 · 280 阅读 · 0 评论 -
猜数字~Guess a number(第四天)
这个程序要求用户猜测数字,它会一直问用户猜测数字,直到他们正确猜测为止。一旦他们正确地猜到了,它就会告诉他们多少次尝试过。 answer = 10 attempts= 0 userentry="" #a loop that repeats while the users guess is not the same as the answer # 当用户猜测与答案不同时重复的循环 whil...原创 2019-01-01 19:32:17 · 219 阅读 · 0 评论