I need help writting a program.
1) Random string generation
2) no repeating letters
Can anyone help me,please? I am so confused. The only problem is I have to use
the code that is written there but add on to it.
import random
alphabet = "abcdefghijklmnopqrstuvwxyz"
myNewString = ""
for letters in alphabet:
myNewString = myNewString + alphabet[random.randrange(26)]
print myNewString
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor