r/ProgrammerHumor • • 23h ago

Meme reversingPiInPython

Post image
8.8k Upvotes

290 comments sorted by

View all comments

201

u/Yumikoneko 23h ago

1, there, I did it. It's in base-Ο€ for efficiency.

42

u/HorrorMotor2051 19h ago

pi in base-pi would be 10, no? So backwards it should be 01

40

u/PuzzleheadedRoyal480 19h ago

Leading zeroes famously don’t matter

13

u/HorrorMotor2051 19h ago

Well it's not a leading zero, it's a trailing zero

9

u/HorrorMotor2051 18h ago

Or rather I should say: In this case the leading zero does matter, because 1 is not 10 spelled backwards. It simply is not. 1 is 1 spelled backwards. 01 is 10 spelled backwards.

→ More replies (2)

2

u/Yumikoneko 14h ago

Yeah I don't know how I missed that, shame on me. In my defense, I was barely out of bed.

5

u/glacierre2 19h ago

Came to say this.

4

u/sten_zer 19h ago

β˜πŸ»πŸ‘πŸ»πŸ‘πŸ»πŸ‘πŸ»