My latest code!!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

My latest code!!!

Hey I would really appreciate it if you could check out my latest code and give me feedback on it thanks. https://code.sololearn.com/c55r9hkMQxC8/?ref=app

1st Apr 2017, 9:18 PM
PureLogicality
PureLogicality - avatar
2 Answers
+ 4
This can be done a bit simpler if you are interested. letters and numbers are built in and can be imported with import string. import random import string password="" runs=int(input("How long should it be? ")) for i in range(runs): password=password+random.choice(string.ascii_letters + string.digits) print(password)
1st Apr 2017, 10:21 PM
LordHill
LordHill - avatar
0
Simple and effective. good job
1st Apr 2017, 10:05 PM
LordHill
LordHill - avatar