Skip to content

Instantly share code, notes, and snippets.

@harrisonmalone
Last active February 12, 2019 05:16
Show Gist options
  • Save harrisonmalone/2f1b43f19c9f68240a9103ade39bcb35 to your computer and use it in GitHub Desktop.
Save harrisonmalone/2f1b43f19c9f68240a9103ade39bcb35 to your computer and use it in GitHub Desktop.
playing around with python fundamentals and main method
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