• Post author:
  • Post category:Blog
  • Reading time:1 mins read
  • Post last modified:June 12, 2024

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
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments