Python "Hello World"
Posted on Mon 06 January 2020 in Development
How to print "Hello World!" in Python
Source code
def helloworld():
print("Hello World!")
if __name__ == '__main__':
helloworld()
Output
β°β echo "def helloworld():\n\tprint('Hello World!')\n\nif __name__ == '__main__':\n\thelloworld()" | python
Hello World!