r/programminghorror • • 6d ago

Python Learning Python; Have I made a good progress?

180 Upvotes

8 comments sorted by

73

u/steQuill 6d ago

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

26

u/BruhMamad 6d ago

Oh I forgot the print() parameters lol

4

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

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

1

u/BruhMamad 6d ago

Exactly

158

u/GresSimJa Pronouns: They/Them 6d ago • Bravo

OP is coding in P++...

17

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 6d 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.

12

u/No-Finance7526 6d 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!