Last active
January 20, 2018 09:21
-
-
Save i-like-bikes/b2c0dbf4ddd25d872a89a2abda6fcf9c to your computer and use it in GitHub Desktop.
temp.py
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
def do_math(x): | |
print(x ** 2) | |
return | |
if __name__ == '__main__': | |
i = input('Please insert an int: ') | |
assert int(i), 'Not an int. terminating' | |
i = int(i) | |
result = do_math(i) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment