+ 1
Why is ternary operator isn't being executed? (code snippet)
I recently learned about ternary operator and I'm trying to execute it, but it doesn't seem to be working as expected. Please look at the code. Thank you! https://code.sololearn.com/cwe4tD35gQoJ/?ref=app
1 Answer
+ 2
NotAPythonNinja Thank you! I didn't see the zero exception.