Last active
September 23, 2020 23:46
-
-
Save codetombomb/8655a25a165750ef0ec9b6a8e5f99651 to your computer and use it in GitHub Desktop.
square funtion
This file contains hidden or 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 square(num): | |
answer = num * num | |
print(answer) | |
square(2) | |
square(4) | |
square(6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment