Aug-26-2020, 02:22 PM
Hello,
I have excecuted my function but it doesn't run. Does anyone know why?
I have excecuted my function but it doesn't run. Does anyone know why?
def randword(): from random import choice from string import ascii_lowercase n = 10 word_list = [] another_random = ''.join(choice(ascii_lowercase) for r in range(n)) for char in range(10): while True: n += 10 rand_word = ''.join(choice(ascii_lowercase)for i in range(n)) lst = list(rand_word) print(''.join(lst))Thank you!