Created
October 20, 2020 17:23
-
-
Save AnnikaNoren/3d33946d4aaf96b82fdd8620017e9cf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = "global" | |
b = "global" | |
a = 2*a | |
print("Outside of the function",a) | |
def my_func(): | |
b = 2*b | |
print("Inside of the function",b) | |
my_func() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment