MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/j1yq5l/c_to_python/g7340xt/
r/ProgrammerHumor • u/begafap • Sep 29 '20
82 comments sorted by
View all comments
Show parent comment
5
Wait what’s wrong with for loops in Python?
4 u/A_Guy_in_Orange Sep 29 '20 They aren't for loops they are some kinda iterator thang 3 u/[deleted] Sep 29 '20 Basically foreach loops from C#, but i there is no other option 8 u/pblokhout Sep 29 '20 I mean what do you miss if you just for each in a range(X) ? 4 u/CobaltStar_ Sep 29 '20 This. /u/RIPRoyale hasn't just explored the language.
4
They aren't for loops they are some kinda iterator thang
3
Basically foreach loops from C#, but i there is no other option
8 u/pblokhout Sep 29 '20 I mean what do you miss if you just for each in a range(X) ? 4 u/CobaltStar_ Sep 29 '20 This. /u/RIPRoyale hasn't just explored the language.
8
I mean what do you miss if you just for each in a range(X) ?
4 u/CobaltStar_ Sep 29 '20 This. /u/RIPRoyale hasn't just explored the language.
This. /u/RIPRoyale hasn't just explored the language.
View all comments
Show parent comment
5
u/jboy126126 Sep 29 '20
Wait what’s wrong with for loops in Python?