Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 29, 2019 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/b0a6304239f859c3697f5b69c91a19bd to your computer and use it in GitHub Desktop.
Save parzibyte/b0a6304239f859c3697f5b69c91a19bd to your computer and use it in GitHub Desktop.
mi_variable_global = 20
def una_funcion():
print("Una función, la variable global es: " + str(mi_variable_global))
def otra_funcion():
print("Otra función, la variable global es: " + str(mi_variable_global))
una_funcion()
otra_funcion()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment