@ArnavPoddar/

Random Password Generator

Python

Password Gerenrator

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
import time, random
message=""
numberOfLetters=int(random.randint(7,10))
for i in range(numberOfLetters):
  letternumber=int(random.randint(36,126))
  letter=chr(letternumber)
  message=message+letter
  i+=1
print ('Your password is',  message)