Created
August 5, 2020 01:48
-
-
Save jenia/7b46bedfbcc61553ec3a85a14b7a4787 to your computer and use it in GitHub Desktop.
I want to pass the flag's pointer
This file contains hidden or 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
#!/usr/bin/python3 | |
def f(flag): | |
flag = False | |
def g(flag): | |
print(flag) | |
def main(): | |
flag = True | |
f(flag) | |
g(flag) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment