Skip to content

Instantly share code, notes, and snippets.

@Pierian-Data
Created March 1, 2018 17:12
Show Gist options
  • Save Pierian-Data/5c832d8e481557c12eab2565013baec4 to your computer and use it in GitHub Desktop.
Save Pierian-Data/5c832d8e481557c12eab2565013baec4 to your computer and use it in GitHub Desktop.
def myfunc(x,y,z):
if z:
# print(x)
return x
else:
# print(y)
return y
@haneenmuhammed2005
Copy link

def myfun(x,y,z):
if z==True:
return x
else:
return y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment