+ 2
What's the problem with the dictionary?
2 Antworten
+ 4
First, you are trying to use the randint function from the random library. The thing is, you forgot to actually import it into your code. You should add this as your first line:
import random
Next, its freaking out because you indented your dictionaries weirdly, so just remove the indents at the start of your code and it should work better.
Hope this helped!
+ 3
Thanks! And oops I forgot to add import random..