Created
February 10, 2020 08:08
-
-
Save austintraver/8965283874b12ddfbec00b2133ff1082 to your computer and use it in GitHub Desktop.
This file contains 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
# 1. Define a function, called "double", which doubles the number you give it | |
def double (x): | |
return (2 * x) | |
# 2. Set a variable called "output", make it {equal} to double of 4 | |
y = 4 | |
output = double (y) | |
# 3. Print that variable | |
# print (output) | |
my_number = 10_000_000 | |
while (my_number > 1): | |
# print(my_number) | |
my_number = my_number - 1 | |
print("We're done") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment