If-elif-else statement : Python tutorial 47

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2018
  • Guys please help this channel to reach 20,000 subscribers. I'll keep uploading quality content for you.
    Python is easy programming language to learn and anyone can learn it, and these tutorials are 100% free in hindi.
    You can share this playlist with your brother, sisters and friends. This will surely add some values to their life.
    Complete Playlist link - • Complete Python tutori...
    If you follow this complete playlist of python tutorial surely you will learn everything about python programming language.
    This video is all about if...elif..else statement
    Source Code Link - www.dropbox.com/s/afxhmlymwn2...

ความคิดเห็น • 105

  • @baliramsingh8655
    @baliramsingh8655 6 ปีที่แล้ว +38

    Man what are you saying
    60 sal ka bacha Kahan hota he🤣🤣🤣🤣🤣🤣🤣
    But you're good man👍👍👍👍

  • @XiwithHighPing
    @XiwithHighPing 5 ปีที่แล้ว +11

    coolest video till now , following this whole series, easiest to learn!

  • @dakshjain5562
    @dakshjain5562 3 ปีที่แล้ว +1

    Really good vedio.... Thnak you so much sir❤️❤️

  • @sfs25c
    @sfs25c 4 ปีที่แล้ว +3

    Thanks, Harshit really your way of teaching is very good. Keep it up, clearing all doubts

  • @manojhaygale810
    @manojhaygale810 6 ปีที่แล้ว

    sir i am fan of your teachinn skill...so u are my first online teacher......thank u so much sir

  • @ravikanttatiwal7830
    @ravikanttatiwal7830 5 ปีที่แล้ว

    the way of writing condition in python is very much similar to real world math. amazing, so natural

  • @bea59kaiwalyakhairnar37
    @bea59kaiwalyakhairnar37 3 ปีที่แล้ว

    Your videos r really great brother..... I am really loving it...

  • @armanemon_ae
    @armanemon_ae 5 ปีที่แล้ว

    bro you are just awesome.....meri boss ho tum

  • @abhayyadav339
    @abhayyadav339 ปีที่แล้ว

    sir aapka samjhaya hua turant samjh me aa jata hai😊🙂

  • @simondungeon1218
    @simondungeon1218 6 ปีที่แล้ว +4

    i kinda liked your screen overlays .. THEY ARE KIND OF CUTE>>😂

  • @tonygaurav
    @tonygaurav 5 ปีที่แล้ว

    Nice explanation Bro...

  • @astitva1368
    @astitva1368 6 ปีที่แล้ว

    Aamzing video....again..

  • @Hindi_Horror_Stories_219
    @Hindi_Horror_Stories_219 3 ปีที่แล้ว

    CARRY ON BRO

  • @ravi2438
    @ravi2438 2 ปีที่แล้ว

    Very good .....

  • @yogeshseven1278
    @yogeshseven1278 4 ปีที่แล้ว

    you are a champion

  • @suhasnalawade344
    @suhasnalawade344 4 ปีที่แล้ว

    Logical programming . Very nice sir

  • @usama57926
    @usama57926 5 ปีที่แล้ว +2

    very good exercise

  • @usama57926
    @usama57926 5 ปีที่แล้ว +1

    thank u very much

  • @mohitGupta-lt1pz
    @mohitGupta-lt1pz 4 ปีที่แล้ว +2

    age = int(input("what is your age :"))
    if 0

  • @techteach419
    @techteach419 ปีที่แล้ว

    Great content! I
    have a suggestion. in the elif statements, the age must be in "

  • @baliramsingh8655
    @baliramsingh8655 6 ปีที่แล้ว +2

    👍👍👍👍👍

  • @zeeshanakram8751
    @zeeshanakram8751 6 ปีที่แล้ว

    Sir ! not able to understand what kind of syntax is this:
    0=3
    What this means ? you used this style here but not explained it yet in your playlist. can you please explain it.
    Thanks.

  • @geetanjaliroutela4709
    @geetanjaliroutela4709 5 ปีที่แล้ว

    nice execise

  • @sunandasharma6487
    @sunandasharma6487 5 ปีที่แล้ว

    Aswm..

  • @anjalijha9797
    @anjalijha9797 4 ปีที่แล้ว +1

    Hi Harshit, If a user does not enter any age then how to print "enter any age" in the same syntax

  • @devildevil9479
    @devildevil9479 3 ปีที่แล้ว

    ❤️

  • @PratyushMishra7
    @PratyushMishra7 5 ปีที่แล้ว +2

    ELIF has the same functionality as ELSE IF ?DO CORRECT ME IF I'M WRONG

  • @shivastar1148
    @shivastar1148 5 ปีที่แล้ว

    Nice sor

  • @shubhamdpatil
    @shubhamdpatil 4 ปีที่แล้ว

    it give error when user by mistake type letters instead of numbers
    in this case what should we do ?

  • @mohammadisamirza2413
    @mohammadisamirza2413 5 ปีที่แล้ว +3

    Can u Please make a video on Python Data Frames (numpy, pandas etc.) PLEASE DO MAKE, ITWOULD BE A GREAT HELP!!!
    And PYTHON MODULES TOO

  • @deepakvashishth5926
    @deepakvashishth5926 5 ปีที่แล้ว

    Sir I studied that python interpreter execute line by line but your interpreter execute whole program . What is the difference?

  • @parthgurjar8686
    @parthgurjar8686 4 ปีที่แล้ว

    we can also write if 0

  • @thunderstorm294
    @thunderstorm294 4 ปีที่แล้ว

    output is coming wrong cant understand what is wrong but how to do tab backward in python ?

  • @jaishreengill8044
    @jaishreengill8044 2 ปีที่แล้ว

    I have a Dbt, you have written elif statement 0

  • @homecomputer5756
    @homecomputer5756 4 ปีที่แล้ว

    sir switch case ke bare m btao hota bhi h ya nhi python m

  • @djhimss4046
    @djhimss4046 4 หลายเดือนก่อน

    Sir ye program 3.11.5 version me run nahi ho rha kya Karu

  • @ramchhabra5694
    @ramchhabra5694 6 ปีที่แล้ว +3

    11 se 60 wala gzb tha ........
    maja aa gya.............

  • @anupamkumar-lj7vl
    @anupamkumar-lj7vl 4 ปีที่แล้ว +1

    Sir,
    it is funny 11 se 60 saal ke bachche 🤣🤣🤣🤣🤣🤣🤣

  • @kumarajay7671
    @kumarajay7671 4 ปีที่แล้ว

    hello harshit i am jai from delhi i have c the your tuto and study exerciese no 40 my pc core to duo and age is not defind error show

  • @monilvyas1310
    @monilvyas1310 6 ปีที่แล้ว

    sir yhbi kr skte hai age = int(input("enter your age")) ..yhbi chlra hai fltu m ek line extra likhni pdti hai

    • @yuvraj8678
      @yuvraj8678 4 ปีที่แล้ว

      yes professionals yhi use krte hai

  • @praveenkumar8604
    @praveenkumar8604 4 ปีที่แล้ว

    Sir i am confusing in greather than. And less than operator

  • @ashwing924
    @ashwing924 5 ปีที่แล้ว +2

    age=int(input("Please Enter u r age ")) this one is working
    Why multiple line ?

    • @liveseries8534
      @liveseries8534 5 ปีที่แล้ว +2

      Bhai o tere jaise gadhe Ko samjhane k liye hai 😂😂😂

    • @hameedmulani21
      @hameedmulani21 4 ปีที่แล้ว

      @@liveseries8534 yes 😂

  • @aryan995895
    @aryan995895 4 ปีที่แล้ว

    bro you are so funny

  • @kevins8850
    @kevins8850 5 ปีที่แล้ว +3

    1:02 rofl

  • @klickeditors
    @klickeditors 4 ปีที่แล้ว +1

    bhaiya hum kitne elif use kr sakte hai 1 programme me ?????????

    • @jagrutimeniya4380
      @jagrutimeniya4380 4 ปีที่แล้ว +1

      jitne bhi hum chahe.bt last m else compulsory use krna hota hai.

  • @sajangandhi2177
    @sajangandhi2177 5 ปีที่แล้ว

    11 se 60 saal ke bache OMG!!, unke liye bhi ticket free honi chaiyhe

  • @amangupta-fq9rs
    @amangupta-fq9rs 4 ปีที่แล้ว +5

    age=int(input("enter age"))
    if age==1 or age

  • @SatyendraSingh-lx7ru
    @SatyendraSingh-lx7ru 4 ปีที่แล้ว

    i am very confused at the starting your less than and greater than operator please check and correct.

  • @gsshaykot3824
    @gsshaykot3824 4 ปีที่แล้ว

    age=int(input("please,enter your age: "))
    if age

  • @gouravbhattacharjee6794
    @gouravbhattacharjee6794 4 ปีที่แล้ว +1

    age = int(input("Enter Your age: "))
    if age

  • @vikky3103
    @vikky3103 3 ปีที่แล้ว

    What if input (age) is a float data type? Let's say 7.5 years...

  • @surajpatra8705
    @surajpatra8705 2 ปีที่แล้ว

    0 age bacche : Ohhhhhhh, tabhi mai sochu charo taraf andhera kyu hai

  • @unknownperson4415
    @unknownperson4415 2 ปีที่แล้ว

    I wanna book pdf plz help me to get it

  • @BikashKumar-ww7em
    @BikashKumar-ww7em 4 ปีที่แล้ว

    age= int(input("Enter age "))
    if age== 0:
    print("You cant enter Zero")
    else:
    if 0 < age

  • @ashwing924
    @ashwing924 5 ปีที่แล้ว +2

    please any one tell me
    age

    • @mohanbarman5982
      @mohanbarman5982 5 ปีที่แล้ว +2

      according to the first line
      agar koi age -3 v enter kare toh bhi condition true hogi but age kabi bhi negetive nhi hoti thats why first one is wrong
      2nd is right because kisiki v minumum age 1 hoti he according to year

  • @yousufabbasi5430
    @yousufabbasi5430 5 ปีที่แล้ว +2

    0

  • @hemantagrawal5197
    @hemantagrawal5197 6 ปีที่แล้ว

    If elif else ke end me Jo colon lagta hai usme syntax error bta rha he

    • @yuvraj8678
      @yuvraj8678 4 ปีที่แล้ว

      show your code here

  • @shobhitsadwal756
    @shobhitsadwal756 3 ปีที่แล้ว

    age=int(input('please enter your age '))
    if 0

  • @aarjey5236
    @aarjey5236 3 ปีที่แล้ว

    if name[0]==("a" or "A") and age>=10:

  • @mandakinichopade3900
    @mandakinichopade3900 4 ปีที่แล้ว

    Sir, in my visual code I can't adjust theme colour. so, can you please tell me why it not adjust.? And what is the problem.

  • @shishirkatiyar8430
    @shishirkatiyar8430 5 ปีที่แล้ว

    harshit i have a question : If a user inputs the age in float or string format then how we would be able to show invalid input.

    • @biswaranjan5971
      @biswaranjan5971 4 ปีที่แล้ว

      age=int(float(input("Please enter your age:")))
      if age >0 and age 3 and age 10 and age

    • @suryaprakash1890
      @suryaprakash1890 3 ปีที่แล้ว

      @@biswaranjan5971 when u put float (input("...")) .there is no need of int again👍.. float num is not an integer bro

  • @FirozBaksh
    @FirozBaksh 6 ปีที่แล้ว

    if age == 0 or age == -1 :
    print("You are not exist in the world")

  • @rajbir_singh0517
    @rajbir_singh0517 5 ปีที่แล้ว

    0

    • @balkrishna8625
      @balkrishna8625 5 ปีที่แล้ว

      ika matlab h age zero se jada hi hogi

    • @yousufabbasi5430
      @yousufabbasi5430 5 ปีที่แล้ว

      yes you are right i am also confiused

  • @muhammadmudassarsharif9181
    @muhammadmudassarsharif9181 6 ปีที่แล้ว +1

    Please Help Me
    Progame Eror
    age = input("please input your age")
    age = int(age)
    if 0

    • @clashwithbat2283
      @clashwithbat2283 6 ปีที่แล้ว

      Mohammad Mudassar Sharif print("ticket is free") *

    • @sukritbera7074
      @sukritbera7074 6 ปีที่แล้ว +1

      U forgot to put ) in ur program line4

    • @MetallicA54112
      @MetallicA54112 5 ปีที่แล้ว

      line 4 closing parenthesis ) is missing.

    • @vlaval769
      @vlaval769 5 ปีที่แล้ว

      close karo ()

  • @musabahmed7204
    @musabahmed7204 4 ปีที่แล้ว

    I used the PASS function you told earlier
    age = int(input('Please Enter Your Age ? '))
    if age==0 or age

  • @cloudyjohn366
    @cloudyjohn366 6 ปีที่แล้ว

    age = int(input('enter your age: ')
    if age==0:
    print('you cant watch')
    elif 0

    • @Maheshkumar-ph7zg
      @Maheshkumar-ph7zg 5 ปีที่แล้ว

      age=int(input("enter your age"))# closing bracket missing hai yha

    • @mohammadshoaib2040
      @mohammadshoaib2040 4 ปีที่แล้ว

      Exactly

    • @mohammadshoaib2040
      @mohammadshoaib2040 4 ปีที่แล้ว

      Bhai yae smajh main nahi aaaaa raha plzzz bata dain If 0

  • @mohammedjafaraqiq2119
    @mohammedjafaraqiq2119 2 ปีที่แล้ว

    age = input("Enter your age : ")
    age = int(age)
    if age0 and age3 and age10 and age60 and age

  • @galaxyofdesitips96
    @galaxyofdesitips96 4 ปีที่แล้ว

    less then kay operator ko greater then kah rahy hoo samjhao to theek sy bhi

  • @tejaskashyap3997
    @tejaskashyap3997 4 ปีที่แล้ว

    JNU ke bachche 11 se 60

  • @Gamers_adda11
    @Gamers_adda11 4 ปีที่แล้ว

    Hahahah.. 60 saal k bachhe

  • @pranjaldubey1055
    @pranjaldubey1055 4 ปีที่แล้ว

    Elif ki jagah if he likhe too

    • @yuvraj8678
      @yuvraj8678 4 ปีที่แล้ว

      to jo first if condition hai vo stop nhi hogi or fir next if condition check hoti rhegi

  • @nadimahmed665
    @nadimahmed665 5 ปีที่แล้ว +1

    11 se 60 sal ka bacca???? 😂 😂😂😂😂😂

  • @Deepaksingh-hy5sf
    @Deepaksingh-hy5sf 4 ปีที่แล้ว

    if age==0
    print("Beta dang se paida toh hoja")
    elif
    .
    .
    .

  • @dakshjain5562
    @dakshjain5562 3 ปีที่แล้ว

    Really good vedio.... Thnak you so much sir❤️❤️

  • @homecomputer5756
    @homecomputer5756 4 ปีที่แล้ว

    sir switch case ke bare m btao hota bhi h ya nhi python m

  • @homecomputer5756
    @homecomputer5756 4 ปีที่แล้ว

    sir switch case ke bare m btao hota bhi h ya nhi python m

  • @homecomputer5756
    @homecomputer5756 4 ปีที่แล้ว

    sir switch case ke bare m btao hota bhi h ya nhi python m