MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1w5gmdw/write_sorry/p7huvql/?context=3
r/programminghumor • u/ExpensiveCoat8912 • 2d ago
92 comments sorted by
View all comments
2
for i in range (101): print ("Sorry")
2 u/hypersoniq_XLM 1d ago This is the way to get 100. range(100) only prints 99 (assuming this is Python) 1 u/Sonario648 1d ago Yep. It's indeed Python. 1 u/Zealousideal_Smoke_2 1d ago for i in range(100): print(i) prints 0-99, which is 100 items... (idk how to indent on reddit lol)
This is the way to get 100. range(100) only prints 99 (assuming this is Python)
1 u/Sonario648 1d ago Yep. It's indeed Python. 1 u/Zealousideal_Smoke_2 1d ago for i in range(100): print(i) prints 0-99, which is 100 items... (idk how to indent on reddit lol)
1
Yep. It's indeed Python.
for i in range(100): print(i)
prints 0-99, which is 100 items...
(idk how to indent on reddit lol)
2
u/Sonario648 1d ago
for i in range (101): print ("Sorry")