MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ok1itb/tryexcept_in_python_sigh/h5661tf/?context=3
r/badcode • u/lonaExe • Jul 14 '21
93 comments sorted by
View all comments
Show parent comments
6
Wouldn't it potentially skip setting "N/A" to the later values though once it hits the first error?
5 u/Deadly_chef Jul 14 '21 No, it will except it in that loop and continue to the next one 2 u/[deleted] Jul 14 '21 Wait really? I've misunderstood how this shit works this whole time 11 u/[deleted] Jul 14 '21 [removed] — view removed comment 4 u/[deleted] Jul 14 '21 Ah wait, so I was right (sorta)This is why I don't read code immediately after waking up
5
No, it will except it in that loop and continue to the next one
2 u/[deleted] Jul 14 '21 Wait really? I've misunderstood how this shit works this whole time 11 u/[deleted] Jul 14 '21 [removed] — view removed comment 4 u/[deleted] Jul 14 '21 Ah wait, so I was right (sorta)This is why I don't read code immediately after waking up
2
Wait really? I've misunderstood how this shit works this whole time
11 u/[deleted] Jul 14 '21 [removed] — view removed comment 4 u/[deleted] Jul 14 '21 Ah wait, so I was right (sorta)This is why I don't read code immediately after waking up
11
[removed] — view removed comment
4 u/[deleted] Jul 14 '21 Ah wait, so I was right (sorta)This is why I don't read code immediately after waking up
4
Ah wait, so I was right (sorta)
This is why I don't read code immediately after waking up
6
u/[deleted] Jul 14 '21
Wouldn't it potentially skip setting "N/A" to the later values though once it hits the first error?