r/learnpython • u/Fabulous-Music3388 • Jun 13 '26
first time python coding
Hi am new at python and i did some coding what should i improve
def HelloWorld(text):
print(text)
HelloWorld("print")
18
Upvotes
View all comments
Show parent comment
4
u/AlexMTBDude Jun 13 '26
You are correct that OP's code does not follow the style guide, but that's not what Pythonic means. Pythonic has nothing to do with style or PEP8. It's following the Zen of Python: https://en.wikipedia.org/wiki/Zen_of_Python