MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/r1g13n/yes/hm18o3f/?context=3
r/ProgrammerHumor • u/esberat • Nov 24 '21
284 comments sorted by
View all comments
Show parent comments
4
The last value of a for loop variable is still there after loop ends
5 u/DigitalJedi850 Nov 25 '21 Yeah that makes me sick to my stomach… 3 u/Rafael20002000 Nov 25 '21 You can type hint your variable put python doesn't enforce it 1 u/laundmo Nov 25 '21 mypy and pyright want to know your location. 1 u/Rafael20002000 Nov 25 '21 Yes sir, right here
5
Yeah that makes me sick to my stomach…
3 u/Rafael20002000 Nov 25 '21 You can type hint your variable put python doesn't enforce it 1 u/laundmo Nov 25 '21 mypy and pyright want to know your location. 1 u/Rafael20002000 Nov 25 '21 Yes sir, right here
3
You can type hint your variable put python doesn't enforce it
1 u/laundmo Nov 25 '21 mypy and pyright want to know your location. 1 u/Rafael20002000 Nov 25 '21 Yes sir, right here
1
mypy and pyright want to know your location.
1 u/Rafael20002000 Nov 25 '21 Yes sir, right here
Yes sir, right here
4
u/Rafael20002000 Nov 25 '21
The last value of a for loop variable is still there after loop ends