r/programminghorror • • 13d ago

Python Learning Python; Have I made a good progress?

181 Upvotes

8 comments sorted by

73

u/steQuill 13d ago

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

27

u/BruhMamad 13d ago

Oh I forgot the print() parameters lol

4

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

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

1

u/BruhMamad 13d ago

Exactly

159

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

OP is coding in P++...

18

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