Demo: Multiple Conditions | Python for Beginners [22 of 44]

preview_player
Показать описание


#microsoftdeveloper #pythonforbeginners #learntocode
Рекомендации по теме
Комментарии
Автор

Thank you for all the time you put in these tutorials :)

DrownedSimo
Автор

She is very articulate and thorough. Lots of good info in this particular video, thanks!

sminter
Автор

Never heard of Nunavut (the pronunciation is great), so I went off on a spiral on Canadian goegraphy and ended up listening to Susan Aglakurk music and Tanya Tagaq inuit throat singing. Time for a coffee break and then finish this demo

SaranjitDosanjh
Автор

Muchas gracias, es el primer lenguaje de programacion que aprendo en mucho tiempo y estos tutoriales me sirven demasiado. Saludos desde Mexico

JonnyViciusPunk
Автор

i use the lower in the name of province too, thanks for teaching. take care

OficinadeLivros
Автор

Thank you for all these videos but i finished all the videos and i want something to practice with python i will be very grateful if you helped me

marioehab
Автор

Is that how Nunavut is really pronounced? It sounds like 'none of it'
if province = "Nunavut":
print("It's Nunavut')
else:
print("It's none of it")

mankybrains
Автор

Kindly help as I get tax = 0 only when I run the program why?

province = input("What province you live in?")
tax = 0

if province == 'Alberto':
tax = 0.05
if province == 'Nunavut':
tax = 0.10
if province == 'Ontario':
tax = 0.13
print(tax)

addy_
Автор

can anyone tell me why we have to use 2 equal's to (==) sign in IF statement, compared to only one (=) when assigning a value to 'tax' variable?

yankyavi
Автор

it seems to me a logic error more then a runtime error ???

amar-settiimene
Автор

At the beginning of the videos serie it was said that only single quotes would be used, but double and single quotes are mixed in this video, i'm confusing now!

dvrc
Автор

Thank you so much for the tutorial, it is helping me a lot. I have one question though :
In case of case sensitivity for the state or provinces, how do we fix that?

debasishkarmakar
Автор

Weird. If, elif, else...but no endif. Would make much more readable. But that's the C in me.

martinhaub
Автор

Do not go about calling a piece of code that it's "complex". It demotivates beginners, especially those who can be overwhelmed pretty easily.


6:46 xD

marflage
Автор

Lady: what about
if province.lower() in('alberta', 'nunavut', 'nyc):

no @ .lower() @ there ?

u will get bug.

ladefected
visit shbcf.ru