0

I just realized, that my variables declared in

if __name__ == "__main__":
    thisisglobal = "global variable"

are actually global. Why is this?

khelwood
  • 52,115
  • 13
  • 74
  • 94
David
  • 2,032
  • 14
  • 39

0 Answers0