Under which condition will the elif statement be evaluated?

Last Updated on February 24, 2021 by Admin

A student is learning Python and is reviewing a Python script as follows:

Under which condition will the elif statement be evaluated?

  • when the input is a float number
  • when the first print statement fails
  • when the if statement is false
  • when the input is a string
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments