Python Programming Tutorial – 7 – if elif else

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

39 responses to “Python Programming Tutorial – 7 – if elif else”

  1. al pike Avatar

    Thank you for using pycharm

  2. Bradley Ford Smith Avatar

    Have you thought about learning Data Science? You know you should think about learning Dat Science on Udemy

  3. Omri Grinshpan Avatar

    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

  4. Call me Cloud Avatar

    why cant you fkin zoom in

  5. Fatih Altunay Avatar

    You and your fucking cardboard story. Ughhhh!

  6. Anu Malik Avatar

    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??

  7. Jo C Avatar

    Great tutorial! (btw in Canada the drinking age is 18 :D)

  8. Sajid Rahman Avatar

    Anyone wants pycharm professional 2017 activated forever for $10?reply..ill give u link to my website is u want.

  9. archit singh Avatar

    i was seriously listening , hoping it to be an analogy….u got me bro XD

  10. KALPATARU PODDER Avatar

    for x in range(100)
    if x % 4==0:
    print(x)

  11. Yash Desai Avatar

    Woah, i was like good analogy idea, but it turned out to be a stupid story xD

  12. Gerami Sadeghi Avatar

    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?

  13. JackCkiller Avatar

    great course could have booster the font size a little more SO WE CAN SEE THE SHIT YOU ARE WRITING !

  14. paul sha Avatar

    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.

  15. tiago moreno Avatar

    put the carboard inside the bag and place it right at the bottom or bottom middle always works for me

  16. alexedeigba Avatar

    If i want to add multiple names on the first list, how do i do that? for example, name = "Lucy", "Sean", "Jake"

  17. Blitz Avatar

    Rip it up, put it into a small bag, then put that in a larger bag and fill with trash. job done

  18. MILITARY-GAMING Avatar

    I am BUCKY!
    Take it easy caps lock!!!!

    Big Fan

  19. Chris Girard Avatar

    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.

  20. Nic Long Avatar

    0/10 not ghetto enough.

  21. Ankit Raj Avatar

    Don't ever delete your videos. Man, you're just fantabulous!

  22. Evan Bialo Avatar

    Put the cardboard in your neighbors trash, so they have to deal with it.

  23. Abhishek Chhetri Avatar

    after watching all your tutorial will this be enough to work in an organization as a python developer?

  24. Vatsal Singh Avatar

    which application in which u r using python???

  25. Patrick Weiss Avatar

    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.

  26. aneeb sattar Avatar

    Your dialog "Hay Take it easy Caps Log" was Amazing 😉

  27. Jacob Teel Avatar

    i know its late by three years but if you put the cardboard in a container they wont know

  28. Thomas Avatar

    Burn cardboard and throw away ash. Now…on with the show.

  29. SOUMAM BANERJEE Avatar

    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… 🙂

  30. Ravi Srinivasan Avatar

    Burn it and dump in garbage??

  31. Aman Lal Shrestha Avatar

    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?

  32. Galileo Galilei Avatar

    "I am gonna win this battle, mr trashman!" XD

  33. Steve mamo Avatar

    burn the card board then throw away the ash

  34. batuhanDover Avatar

    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

Your email address will not be published. Required fields are marked *