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 a random character, you’ll need to import
the random
module.
#Now you can choose a random character & number from the list, and store it in a variable called password
.
#Finally, you can print your (very short!) password to the screen.
2) A random password (随机数字)
#To create a password, you will add random characters to it, one at a time. To start with, your password
variable should be empty.
#Use your len