0

How to use variables in function

I wont tp use o variable in function render(): https://code.sololearn.com/cPp3UDj490OX/?ref=app

11th Dec 2019, 5:12 PM
Arydev
Arydev - avatar
1 Odpowiedź
+ 1
You wrote o = random.choice(o), that's the problem. Try x = random.choice(o) and print that - then it works.
11th Dec 2019, 5:33 PM
HonFu
HonFu - avatar