Python Programming Tutorial - 15: The ELIF Statement

preview_player
Показать описание
In this tutorial we'll check out the ELIF decision making construct in Python.

Thanks for watching the tutorial.
Рекомендации по теме
Комментарии
Автор

hey Madhur I too have the same dought, ..If we have 6 conditions to check then how to write the program??? we can't use more than 1 elif or if statements right...Then how to write the

monikapatnaik
Автор

Hi Madhur,
If we had more than three conditions say 5 conditions to check, in that case should we have 2 more elif or what?

kyshark
Автор

How do you add a $ sign or any money sign in front of the difference within the operation?

print ("Congrats, You've made ""$", V1-V2) just don't want the space there. Also is there a way to format the field for money signs? I haven't watched the rest of your videos yet or googled yet..lol but just wanted to throw this out there to see which answers first.

thelebbies
Автор

Hello,
Instead of using sp-cp in the print statement, how to do it with a string operator like %s?

miheer
welcome to shbcf.ru