Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. dictionary = { "a":function_1(), "b":function_2(), "c":function_3()}
  2.  
  3. dictionary = { "a":"function_1()", "b":"function_2()", "c":"function_3()"}
  4.  
  5. for key,value in dictionary.items():
  6. if key == something:
  7. wanted_variable = value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement