What am i doing wrong in this python script?

There are a few problems:

  • You haven’t initialized global_var.

  • Also where is local_var defined?

  • And you may want to use , instead of . in your last print
    statement.

Anyways, I don’t see where that SyntaxError comes from.

Leave a Comment