0

What's Wrong with this code?

I keep getting TypeErrors, why? https://code.sololearn.com/cjz09w7v8wRh/?ref=app

19th Feb 2019, 7:33 AM
TheCoder920
TheCoder920 - avatar
4 odpowiedzi
+ 1
oh no nvm it does, forgot to change the random.choice thingy
19th Feb 2019, 3:56 PM
TheCoder920
TheCoder920 - avatar
0
You define a tuple with the name 'random'. Then you import the module 'random', so now you've overwritten the former name. Just choose another name for your tuple.
19th Feb 2019, 7:43 AM
HonFu
HonFu - avatar
0
oh ok
19th Feb 2019, 3:51 PM
TheCoder920
TheCoder920 - avatar
0
HonFu Still doesnt work
19th Feb 2019, 3:53 PM
TheCoder920
TheCoder920 - avatar