MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/shittyprogramming/comments/1io9s86/print_hello_world/
r/shittyprogramming • u/EkskiuTwentyTwo • Feb 13 '25
8 comments sorted by
5
love the nested if True
7 u/EkskiuTwentyTwo Feb 14 '25 It's so that python doesn't complain about indents
7
It's so that python doesn't complain about indents
2
What does the output look like?
6 u/dreysion Feb 13 '25 "HelloWorld!\n" 3 u/EkskiuTwentyTwo Feb 14 '25 It's "Hello World!\n". Python's print() has spaces as the default separator 2 u/dreysion Feb 14 '25 Huh, did not know that
6
"HelloWorld!\n"
3 u/EkskiuTwentyTwo Feb 14 '25 It's "Hello World!\n". Python's print() has spaces as the default separator 2 u/dreysion Feb 14 '25 Huh, did not know that
3
It's "Hello World!\n". Python's print() has spaces as the default separator
"Hello World!\n"
print()
2 u/dreysion Feb 14 '25 Huh, did not know that
Huh, did not know that
Thanks I hate it
So it just accesses lists that look weird. It's kinda cool how is can look like that
5
u/themonstaman Feb 13 '25
love the nested if True
2
u/AdministrativeHabit Feb 13 '25
What does the output look like?
3
u/YMK1234 Feb 13 '25
Thanks I hate it
2
u/Journeyj012 Feb 13 '25
So it just accesses lists that look weird. It's kinda cool how is can look like that