Last active
February 12, 2019 05:16
-
-
Save harrisonmalone/2f1b43f19c9f68240a9103ade39bcb35 to your computer and use it in GitHub Desktop.
playing around with python fundamentals and main method
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 hello_world(): | |
return 'hello world' | |
def another_method(): | |
print(hello_world()) | |
list = [1,2,3,4] | |
list.append(5) | |
for i in list: | |
print(i) | |
dict = { | |
"key": "value" | |
} | |
print(dict) | |
if __name__ == "__main__": | |
another_method() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment