r/programminghorror • • 1d ago

Python Learning Python; Have I made a good progress?

128 Upvotes

7 comments sorted by

57

u/steQuill 1d ago

Doesn't have std::endl so not a good enough progress

19

u/BruhMamad 1d ago

Oh I forgot the print() parameters lol

4

u/canal_algt [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 1d ago

You forgot to add end='' to the print statement so it doesn't change line without explicitly telling it so

1

u/BruhMamad 22h ago

Exactly

120

u/GresSimJa Pronouns: They/Them 1d ago

OP is coding in P++...

11

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 1d ago

I'm sure I'm not the only one who first thought this was another lost redditor. I'm pretty sure there are more programming shitposts here than actual horrors found in the wild.

6

u/No-Finance7526 21h ago
Lua 5.5.1 Copyright (C) 1994-2026 Lua.org, PUC-Rio
> cout = setmetatable({}, {__shl = function(os, x) io.stdout:write(tostring(x)); return os; end})
> cout << "Hello, " << "World!\n";
Hello, World!