Help??
DragoniteDL (1)

Um, I'm pretty basic at python, but why doesn't this work?

https://repl.it/@DragoniteDL/Poptropica-Name-Demo

It's supposed to cycle through names, and then choose one, but it's not working? (Really Confused)

You are viewing a single comment. View All
KeaganLandfried (8)

Hey, you need to define the variables you want to use inside the def() function as a 'global' variable inside the def() function.
def name1():
global var1_