Light Mode
Dark Mode
the last one extra test

I want to ask that why the if else function in python

why the first picture will pass the test

but the second one wouldn't, and show the index_error

dose it have any difference between these two code?

Attachment
Attachment
Created: Sept. 10, 2019, 9:18 a.m.
Updated: Sept. 11, 2019, 3:05 a.m.
0
4
User avatar
shinyjoe