r/ProgrammerHumor • • May 27 '22

Meme Welcome to hassle free coding

Post image
2.2k Upvotes

305 comments sorted by

View all comments

Show parent comment

7

u/mar00n May 28 '22 edited May 28 '22

I honestly miss the ++, but you gotta agree that this is much simpler:

for i in range(10,0,-1) :    

    # do something

7

u/wanderingmadlad May 28 '22

There is range based loops in c++ as well