[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Python Programming Tutorial – 7 – if elif else
by
Tags:
Comments
39 responses to “Python Programming Tutorial – 7 – if elif else”
-
Thank you for using pycharm
-
Have you thought about learning Data Science? You know you should think about learning Dat Science on Udemy
-
Really like the tutorials so far!
One correction, when you explained the resolution of the elif statement 7:07 you said that the 3rd elif will not resolve to true because the statement is not correct but this is not accurate. Once one of the if or elif statements are correct the the code exits the if/elif statments and continue to the next line. In this case, once Lucy is Lucy the commands below the second elif will execute and once they are done the next line to be executed is after the last elif block -
Great Videos!
-
why cant you fkin zoom in
-
You and your fucking cardboard story. Ughhhh!
-
If i want my program take input user's name and then print out the message governed by if statement. what will be correct statement you would suggest??
-
Great tutorial! (btw in Canada the drinking age is 18 :D)
-
Anyone wants pycharm professional 2017 activated forever for $10?reply..ill give u link to my website is u want.
-
i was seriously listening , hoping it to be an analogy….u got me bro XD
-
for x in range(100)
if x % 4==0:
print(x) -
Woah, i was like good analogy idea, but it turned out to be a stupid story xD
-
you are funny !!!
-
how would you, if you wanted to do an elif statement with numbers, create a parameter of a certain group of numbers? for example:
if age > 18:
print("no beer for you!")
elif age (22<x<28):
print("maybe beer but you shouldn't")
else:
print("yay beer!")If i wanted to print a different message for all ages between 22 and 28, how would I tell my computer to do that?
-
great course could have booster the font size a little more SO WE CAN SEE THE SHIT YOU ARE WRITING !
-
It's simple, if you put the carboard in the trash and they leave the cardboard, then put the trash in the carboard and they'll leave the trash instead, then you just need to put the trash in the trash, job done.
-
put the carboard inside the bag and place it right at the bottom or bottom middle always works for me
-
If i want to add multiple names on the first list, how do i do that? for example, name = "Lucy", "Sean", "Jake"
-
Rip it up, put it into a small bag, then put that in a larger bag and fill with trash. job done
-
I am BUCKY!
Take it easy caps lock!!!!Big Fan
-
Try recycling your cardboard, dickwad.
There is a reason they don't want you to throw away your cardboard. It can be recycled.. but I guess you are too much of self-centered sociopath to care about the environment to realize that.
Fuck you. -
0/10 not ghetto enough.
-
Don't ever delete your videos. Man, you're just fantabulous!
-
Put the cardboard in your neighbors trash, so they have to deal with it.
-
after watching all your tutorial will this be enough to work in an organization as a python developer?
-
which application in which u r using python???
-
easy
-
For getting rid of the cardboard, you have four options.
1. Tear the cardboard into small pieces and place it into multiple trash bags.
2. Tear up the cardboard and distribute into public trash receptacles.
3. Place cardboard into a blender and then rinse down the sink.
4. Recycle the cardboard. -
Your dialog "Hay Take it easy Caps Log" was Amazing 😉
-
i know its late by three years but if you put the cardboard in a container they wont know
-
Burn cardboard and throw away ash. Now…on with the show.
-
pack it and use tape …so that it cant be opened and place it in someone elses house corridoor who has that service of trash picking….coz that man has understood that every tym u r tring to get rid of it…Anyways aweeesome videoos man…just sexxyyy… 🙂
-
Burn it and dump in garbage??
-
burn the freaking cardboard !! Thank you thenewboston for giving us these tutorials, m really into it nowdays!! Anyways, can you show us some example of your creation of apps and programs that you made using python please?
-
"I am gonna win this battle, mr trashman!" XD
-
burn the card board then throw away the ash
-
you are so cringe..
-
21!
-
Instead of writing name I wanted to type account name and I don't know why but it doesn't expect to word, and I'm a beginner (can be understood by the question I ask probably 🙂 ) so how can I do that, write two word. For example: account name = "this". What should I do for program to understand that there are two word there.
Thanks for the help
Leave a Reply