SHARE
TWEET

Functions

a guest Oct 15th, 2019 86 in 268 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = False
  2. def main(x):
  3.     x = True
  4.     print(x) #Prints as True
  5.    
  6. main()
  7. print(x) #Prints as False
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top