Ask your own question, for FREE!
Computer Science 12 Online
yy:

how do you use the else () statement in a loop in python?

yy:

???????????????

yy:

help plz

Vocaloid:

else statements are used as part of if/else statements The if() statement sets up a conditional, and if the conditional is met, the code under the Id statement executed The else() statement activates when any of the previous condition(s) in the if/else statements fail. The code after the else statement executes if none of previous conditions are met.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!