Traceback (most recent call last):
File "roulete.py", line 74, in <module>
print(random.choice(listl))
AttributeError: 'str' object has no attribute 'choice'
File "roulete.py", line 74, in <module>
print(random.choice(listl))
AttributeError: 'str' object has no attribute 'choice'
Python:
import random
random = input("")
if random == "Старт":
times()
timestart()
print(random.choice(listl))