Trying to change a list so i can generate a password
passwordlength=int(input('Enter how long you would like the password')) # The user input
for x in range(0,passwordlength):
password=''.join(characters)
print(password)
That is what i am working with now. Characters is what i am using for my list. This is giving me for the input the list repeated for the input number.
Every time i try and use a append to the list i just end up going backwards
Any help would be appreciated
passwordto be? eg - are you expecting a string of lengthpasswordlengthchosen randomnly fromcharactersfor instance?password=''.join(characters[:passwordlength])is what you want