
Posted on • Edited on • Originally published atcodewithshriekdj.netlify.app
Hardest hello world program of Python lol
So This is just for fun.
Most People said to me because I Started Using Python Mostly in my projects.
And They Tell Me That Python is not aReal
programming language or Python is For Kids because it is too easy to write.
So for just fun.
I created a repo with various ways of writing Hello World Program In Python.
For Starters It Started Like this.
Program for Beginners
print('Hello World!')
Difficulty Level 0 : Program With Shebang
#!/usr/bin/env python3print('Hello World!')
Difficulty Level 1 : Program With variable
#!/usr/bin/env python3message='Hello World!'print(message)
Difficulty Level 2 : Program With Main Condition
#!/usr/bin/env python3message='Hello World!'if__name__=='__main__':print(message)
Difficulty Level 3 : Program With external function.
#!/usr/bin/env python3msg="Hello World!"defdisplay_msg(message):print(message)if__name__=='__main__':display_msg(message)
Difficulty Level 4 : Program With.env
file and running process
#!/usr/bin/env python3importosfromdotenvimportload_dotenvload_dotenv()# take environment variables from .env filemsg=os.getenv('MESSAGE')defdisplay_msg(message):print(message)if__name__=='__main__':display_msg(msg)
running proces athttps://github.com/shriekdj/hello-world-py/tree/main/hello_by_legends/legend_hello_4
Repo Is At
shriekdj / hello-world-py
This is an repo of Hello World In Python From Easy to Difficult in Ridiculous Way
hello-world-py
This is an repo of Hello World In Python From Easy to Ridiculous Way
😂
current hardest hello world is given below
#!/usr/bin/env python3importosfromdotenvimportload_dotenvload_dotenv()# take environment variables from .env filemsg=os.getenv('MESSAGE')defdisplay_msg(message):print(message)if__name__=='__main__':display_msg(msg)
It is Available athttps://github.com/shriekdj/hello-world-py/tree/main/hello_by_legends/legend_hello_4
It Will Become more difficult by time just wait for it.
Top comments(0)
For further actions, you may consider blocking this person and/orreporting abuse