Skip to content

Instantly share code, notes, and snippets.

@voidnologo
Created May 19, 2015 02:12
Show Gist options
  • Save voidnologo/d4568ec9bf25ecc8312a to your computer and use it in GitHub Desktop.
Save voidnologo/d4568ec9bf25ecc8312a to your computer and use it in GitHub Desktop.
Quiz Question 1
def double_it(x):
x = x * 2
return x
def get_input():
return int(input("Enter a number: "))
# main
x = get_input()
y = double_it(x)
z = double_it(y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment