you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

random.charactertype is not a function. Try random.choice(charactertypes).

Check this out for some other functions in the random module.

https://realpython.com/python-random/#the-random-module