Komentáře •

  • @knucklesandwich8786
    @knucklesandwich8786 Před 2 lety +271

    i'm 54 years old with no programming experience. I am constantly searching for good tutorials. This is by far the best python tutorial I have seen so far. Thanks. Keep up the good work.

  • @rohitchauhan7721
    @rohitchauhan7721 Před 3 lety +43

    (1).
    a=int(input('enter any integer:'))
    if a>0:
    print('this is positive integer')
    elif a

    • @animewatch9
      @animewatch9 Před 5 měsíci +1

      your code has error bro

    • @mrenergy989
      @mrenergy989 Před 4 měsíci

      Bro u can use 0 rather than nor positive nor negative

    • @m_sitso
      @m_sitso Před 3 měsíci +1

      this code will give an error:
      line 7 error 'this is neither positive nor negative' not defined

    • @Lolsnni_lakshmi
      @Lolsnni_lakshmi Před 3 měsíci +4

      x = int(input("enter a number")
      if x

  • @manavsingla3143
    @manavsingla3143 Před 4 lety +212

    The best python teacher on the internet, NO DEBATE!!
    I said it!!! Thank you so much Navin sir for taking your time and contributing to the python community with such a mindblowing course.... Hatts off to you

    • @iamthatiam4496
      @iamthatiam4496 Před 3 lety +6

      I agree. Best I have seen

    • @sundari7846
      @sundari7846 Před 3 lety +4

      In indo "no debat no kecot" it means "absolutely no debate"

    • @kvanctok9234
      @kvanctok9234 Před 2 lety

      I was dying from the inside while listening to him. Ugh…

    • @sharafalip1718
      @sharafalip1718 Před rokem

      @@sundari7846 😀

    • @boyanghu1222
      @boyanghu1222 Před 9 měsíci

      @@kvanctok9234 If you focus on the content what he had taught us and the effort he had given, you will not think in this way.🙂Plese be thankful all the time.

  • @sudheerreddy874
    @sudheerreddy874 Před 3 lety +51

    Nuvvu keka anna... Feeling proud of you... Just yesterday I started ur tutorials.... "Teluskuntune" unna eppati varaku... Not at all boring... I am more addicted to ur videos than any webseries(money heist, game of thrones)

    • @cyno8767
      @cyno8767 Před 2 lety +3

      game of thrones ❤️😌

    • @vinaykumarsai1217
      @vinaykumarsai1217 Před 2 lety +3

      bro ee tutorial mimmalni strong chesindha python basics and coding lo

    • @mrenergy989
      @mrenergy989 Před 4 měsíci

      And also you can use float because we can use more values

  • @dhruvsharma2795
    @dhruvsharma2795 Před 4 lety +77

    Thanks !
    The new technique which I described here :
    t,u,v = int(input("Number 1 : ")) , int(input("Number 2 : ")) , int(input("Number 3 : "))
    print("The maximum value is : " , max(t,u,v))

  • @tejaswibhargava8745
    @tejaswibhargava8745 Před 5 lety +53

    At this point i realised i've never binged watch a tutorial for so long but it is this channel at which i've almost completed watching 3/4 of the python tutoring in 2 days! . You are a great teacher i must say. Your efforts are commendable. Thankyou so much . 😇😇☺️

  • @vikasgarg7929
    @vikasgarg7929 Před 4 lety +14

    I have purchased many python courses from different sites but i m learning from him haha... great guy :)

  • @syedamirali3205
    @syedamirali3205 Před 2 lety +3

    I have done your given assignments with best of my understanding. So they're:
    1)
    number= 0.0000005
    if number>0:
    print("Positive")
    elif numbery and x>z:
    print(x)
    elif y>z and y>x:
    print(y)
    elif z>y and z>x:
    print(z)
    else:
    print('none')
    Thank you for your classes.

  • @jubairpial9744
    @jubairpial9744 Před 5 lety +111

    x,y,z = int(input("1st num")),int(input("2nd num")),int(input("3rd num"))
    if x>y and x>z :
    print(x)
    elif y>z:
    print(y)
    else :
    print(z)

    • @anshul1047
      @anshul1047 Před 3 lety +66

      another interesting way to do it without if, elif, else
      a, b, c= int(input('enter first number')), int(input('enter second number')), int(input('enter third number'))
      nums= [a, b, c]
      print(max(nums))

    • @adarshsahani1947
      @adarshsahani1947 Před 3 lety +2

      bro its work

    • @mainios126bobeats4
      @mainios126bobeats4 Před 3 lety +11

      one line ver of this is
      print(max(map(int, (input('1st number: '), input('2nd number: '), input('3rd number: ')))))

    • @gayatri3899
      @gayatri3899 Před 3 lety +1

      @@mainios126bobeats4 I think u should write int as well

    • @PawanKumar-ol5sl
      @PawanKumar-ol5sl Před 2 lety

      You can put is greatest number with x, y, z.

  • @samuelkiran5896
    @samuelkiran5896 Před 4 lety +8

    Your teachings are “Easy to understand” & you make it so much more fun and interesting. Thank you!

  • @mrlokeshkumar76
    @mrlokeshkumar76 Před 3 lety +16

    x = -5
    if x > 0:
    print("positive")
    else:
    print("negative")

  • @josephnduati4344
    @josephnduati4344 Před 4 lety +23

    I guess this was the correct solution according to the lesson for question 2:
    x=int(input('Enter the first number: '))
    y=int(input('Enter the second number: '))
    z=int(input('Enter the third number: '))
    if x>y and x>z:
    print('X is the largest with value: ', x)
    elif y>x and y>z:
    print('Y is the largest with value: ', y)
    elif z>x and z>y:
    print('Z is the largest no with value: ', z)
    else:
    print('there are two or more equal nos.')

    • @mdc9602
      @mdc9602 Před 4 lety +2

      No need to use y > x in 1st elif & no need to use 2nd elif, use else directly.

    • @anamaysingh8490
      @anamaysingh8490 Před 4 lety

      @PUSHKAR SINGH that doesn't change anything it will still give you the greatest value

    • @Realthonie
      @Realthonie Před 2 lety

      This was nice, but it doesn’t work for float numbers

    • @imfrommars7362
      @imfrommars7362 Před rokem

      @@Realthonie then do float(input("Enter a number: ")) very simple solution

  • @shivajishinde1496
    @shivajishinde1496 Před 5 lety +4

    Mr. Navin you are teaching with great energy. You are trying best to make us understand. I have never had such learning experience before. Thank you so much for your efforts to make these things simple!

  • @q2success352
    @q2success352 Před 4 lety +11

    2nd Answer:
    n1 = int(input("Enter 1st number: "))
    n2 = int(input("Enter 2nd number: "))
    n3 = int(input("Enter 3rd number: "))
    if n1 > n2 and n2 > n3:
    print (n1 ,"is the highest number among the three")
    elif n1 < n2 and n2 < n3:
    print (n3 , "is the highest number among the three")

    elif n1 < n2 and n2 > n3:
    print (n2 , "is the highest number among the three")

    else:
    print("Enter 3 different numbers")

    • @shivaravuri1913
      @shivaravuri1913 Před rokem +1

      x = int(input("enter the number:"))
      y = int(input("enter the number:"))
      z = int(input("enter the number:"))
      a = max(x,y,z)
      print(a)

  • @moumitasaha1172
    @moumitasaha1172 Před 3 lety +6

    Bacame a Python lover in 2 hours. You have amazing teaching skills and it must be appreciated. Thankyou so much.

  • @jaganathg3137
    @jaganathg3137 Před 3 lety +13

    1.
    x=int (input("enter a number "))
    if x>0:
    print("the number is positive")
    else:
    print("the number is negative")
    2.
    x,y,z = int(input("1st num ")),int(input("2nd num ")),int(input("3rd num "))
    if x>y and x>z :
    print(x)
    elif y>z:
    print(y)
    else :
    print(z)

    • @YashhC
      @YashhC Před rokem

      Hello! In 2. you can simply use the max function! Like:
      maximum = max(x,y,z)
      print("Highest number is " + str(maximum))

    • @YashhC
      @YashhC Před rokem

      I found something even better. directly use str(max(x,y,z))

    • @mohammad1906
      @mohammad1906 Před rokem

      @@YashhC did it work, how can you use string function here

    • @YashhC
      @YashhC Před rokem

      @@mohammad1906 I have to use string because I can't add two different data types like string and the number(int).
      Basically, "maximum" gets a value first, then that value is simply printed as a string for this line. After that, maximum type is again int.

    • @gontysivaram2109
      @gontysivaram2109 Před 7 měsíci

      WhAts happens when the to values are Same but not third one ..

  • @bakwaaschannel5468
    @bakwaaschannel5468 Před 4 lety +3

    a=3
    b=7
    c=6
    if ac:
    print('c is the greatest no.')

  • @bharathreddy6208
    @bharathreddy6208 Před 4 lety +181

    Really awesome class sir. I'm addicted to your teaching

  • @piyushshinde1533
    @piyushshinde1533 Před rokem +5

    since 4 days i was confused between nested if and elif, now fully understood the difference between them .
    Thank you so much sir!!🙏

  • @sabarishsudhan9345
    @sabarishsudhan9345 Před 3 lety +5

    I have gone through tons of tutorials in my career... and I find this the best I have come across for "BEGINNERS"! love the way you portray Python in the big picture and then zoom in on details for learning !

  • @bishwanathpandey2207
    @bishwanathpandey2207 Před 5 lety +34

    I am in love with programming just because of you sir.
    Thank you for your strong support

  • @rachitkumar1497
    @rachitkumar1497 Před 6 lety +59

    x=int(input('enter the first number '))
    y=int(input('enter the second number '))
    z=int(input('enter the third number '))
    if x>y and x>z:
    print('X is the largest')
    elif y>x and y>z:
    print('Y is the largest')
    else:
    print('Z is the largest')

    • @Vasudev_R
      @Vasudev_R Před 5 lety +4

      What if both two numbers are same....

    • @varshithreddy5104
      @varshithreddy5104 Před 5 lety +3

      RAJU in the above program
      instead of x>y put x>=y

    • @anuragchauhan2577
      @anuragchauhan2577 Před 5 lety +13

      y=int(input())
      z=int(input())
      a=int(input())
      x=[int(y),int(z),int(a)]
      print(max(x),"is largest")

    • @shyamaraji8196
      @shyamaraji8196 Před 5 lety +4

      @@anuragchauhan2577 ..why do u want to use int(y), Int(z),int(a)..you have converted already and stored in y,z,a ..why don't we use it directly in list.

    • @suchitramitra418
      @suchitramitra418 Před 5 lety

      can this be done using single input??

  • @tysondacosta7802
    @tysondacosta7802 Před rokem +1

    The best thing about your video is that you make programming sound to easy and you communicate so well. Not everyone can teach well as you are able to.

  • @divyag7854
    @divyag7854 Před 4 lety +10

    x=-7
    if x>0:
    print("positive number:")
    elif x==0:
    print("its zero")
    else:
    print("negative number")
    print("its done")

    • @npavankumarpavan6147
      @npavankumarpavan6147 Před 4 lety

      Bro I can't go to the next line when I debug the first line ,in options also it will not showing

  • @just_a_living_being
    @just_a_living_being Před 6 lety +135

    Sir your lectures are so interactieve and explanations are awesome, I have a suggestion please give us atleast 5 questions(for easy) and 3 questions(for medium) and 2 questions(for hard) because as you know ”practice makes man perfect 😊”

  • @hasibkhan8600
    @hasibkhan8600 Před 4 lety +5

    1st question answer:
    num = int(input("Enter a number: "))
    if num > 0:
    print("positive.")
    else:
    print("Negative.")

  • @23_sid73
    @23_sid73 Před 4 lety +2

    Actually ,I started learning python from here only and I'm feeling very lucky I got this wonderful series on python and learning python from such a great tutor the explanation is really great .. thank you sir

  • @nigampratap2466
    @nigampratap2466 Před 4 lety +7

    a= float(input("enter the value"))
    if a>0:
    print("+ve")
    elif ac and b>d:
    print("b is greatest")
    elif c>b and c>d:
    print("c is greatest")
    else:
    print("d is greatest")

  • @kaviyar4814
    @kaviyar4814 Před 4 lety +6

    Ur way of teaching is so awesome.... and as a fresher , I learned more and become craze on python😁

  • @kamatisjuice
    @kamatisjuice Před 3 lety +3

    Now I know why you teach waaaay better than the others. Everytime you finish a video, you challenge us. Now you are really one of the coolest person in the world.

  • @sankargoud7063
    @sankargoud7063 Před 2 lety

    This is one of the best tutorial for python i have seen so far. I am not exaggerating but the fact is a normal human being can concentrate for 15 mins in shot and i am seeing all the topics are covered within 15 mins max. It is superbly accommodated all the required strength to cover the topics.
    So I made 5 of my friends to watch this channel videos not necessarily python but for others too... A big thanks to Navin Reddy garu and his team who is invisible to us on the screen of course for their effort in making such valuable information online.

  • @prakritiagarwal0
    @prakritiagarwal0 Před 4 lety +2

    Hey sir!! U r just amazing and ur teaching skills are so unique.. i m so glad to be taught by u

  • @jabuto-farmnigeria8626
    @jabuto-farmnigeria8626 Před 4 lety +29

    Q1: First question
    num = int(input("Enter Number: "))
    if num > 0:
    print("positive")
    elif num < 0:
    print("Negative")
    else:
    print("Zero")
    Q2: Second question
    print("You are to insert 3 numbers:")
    a = int(input("Enter First Number: "))
    b = int(input("Enter Second Number: "))
    c = int(input("Enter Third Number: "))
    x = [a,b,c]
    print(max(x))

    • @shreyachavan7460
      @shreyachavan7460 Před 4 lety +1

      Your 1 st code is correct bt in second code u should apply if else logic

    • @vinayakkulkarni1303
      @vinayakkulkarni1303 Před 4 lety +1

      @@shreyachavan7460 pls can u say how? 🙏🙏

    • @Siddharth153
      @Siddharth153 Před 3 lety

      @@shreyachavan7460 first one IndentationError: unexpected indent

    • @n8panther5
      @n8panther5 Před 3 lety +3

      second question If elif
      print("You are to insert 3 numbers:")
      x = int(input("enter first number:"))
      y = int(input("enter second number:"))
      z = int(input("enter third number:"))
      if x>=y and x>=z:
      print(x)
      elif y>=x and y>=z:
      print(y)
      elif z>=x and z>=y:
      print(z)

    • @kushalappabe1975
      @kushalappabe1975 Před 2 lety

      @@n8panther5 i can't understand what is wrong with this or rather can't understand why this does'nt work:
      a = int(input('enter number a '))
      b = int(input('enter number b '))
      c = int(input('enter number c '))
      if a > (b and c):
      print(a)
      elif b > (a and c):
      print(b)
      elif c > (b and a):
      print(c)

  • @gayathribabu1772
    @gayathribabu1772 Před 4 lety +11

    1.
    x=int(input("Enter the value:"))
    if xy) and (x>z):
    print("X is Biggest")
    elif(y>z):
    print("Y is Biggest")
    else:
    print("Z is Biggest")

  • @shubhamjvr
    @shubhamjvr Před 4 lety +1

    Things were really easy to understand. Thank you so much, sir, for your lectures and interactive explanations.

  • @rajuraj-rm2cs
    @rajuraj-rm2cs Před 4 lety

    Awesome ur teaching skills as well ur fluency in English ....ur a perfect teacher for transforming the programming knowledge all over the world as well in India ..thank you

  • @gouthamu5424
    @gouthamu5424 Před 4 lety +5

    Your Videos are really helpful!! I let all the ads run completely so that I can contribute something to you.

  • @prynka1803
    @prynka1803 Před 3 lety +3

    Really osm explanation
    I am often confused with if,elif,else
    Now all my doubts is clear
    Thank you so much sir...

  • @aryamotegaonkar7978
    @aryamotegaonkar7978 Před 4 lety +1

    you are just amazing!!! you are the reason why I'm ever progressing in coding

  • @gambling_unexpected
    @gambling_unexpected Před 4 lety

    Hi sir i have recently started watching your training session it was Fabulous. Your video's are Very good and your way clarification user-friendly so that anyone can understand... Thanks you very much sir....

  • @luckyprathyusha7135
    @luckyprathyusha7135 Před 5 lety +13

    n=int(input("enter a no:"))
    if n>=0:
    print("n is a positive no")
    else:
    print("n is a negative no")

  • @cristaldominguez1834
    @cristaldominguez1834 Před 5 lety +9

    OMG you are great at explaining things and your energy is perfect and exciting for teaching

  • @eramargill1403
    @eramargill1403 Před 3 lety

    @telusko way of teaching to others awesome 🤗 because i also use this way to teach others anything and you also teach like that people teach to small children and after watching your videos anyone cannot forgot python in life

  • @flickzz0p756
    @flickzz0p756 Před 4 lety +8

    I cant even explain what you have done.... Awesome🔥

  • @andymyung1132
    @andymyung1132 Před 3 lety +8

    I am SO ADDICTED TO PYTHON! Thank you Navine. Pls also if you have time make a tutorial on Python Shell and turtle.

    • @shiken69420
      @shiken69420 Před 2 lety

      lmao dude same..before the day of my exam im doing stuff outside the portions

  • @bench2328
    @bench2328 Před 3 lety +1

    i love this channel. it is crazy how you make Python so easy to understand.

  • @shankargope2475
    @shankargope2475 Před 9 měsíci

    Things always get crystal clear when I follow your course videos and practice the concepts.
    Today's video has completely cleared the differences in usability of different condition checking methods👍. Thank you so very much love the way you teach❤‍🔥
    quiz 1-->
    x = int(input("Enter the number: "))
    if x > 0:
    print("+ve number")
    else:
    print("-ve number")
    quiz 2-->
    p = int(input("Enter the number: "))
    q = int(input("Enter the number: "))
    r = int(input("Enter the number: "))
    if p > q and p > r:
    print("p is the greatest")
    elif q > p and q > r:
    print("q is the greatest")
    elif r > p and r > q:
    print("r is the greatest")

  • @ranitde463
    @ranitde463 Před 3 lety +2

    You are the one who helps in programming a lot.Thanks a lot sir😀☺☺☺☺😮

  • @asmitabagchi6886
    @asmitabagchi6886 Před 3 lety +6

    The only thing i wonder is how can such videos have dislikes? the button itself should be disabled.. awesome learning exp with you! lots of love and best wishes

  • @officialyaldrin
    @officialyaldrin Před 3 lety +1

    Sir, i understand your classes very fast thank you sir for making the python course.....Sir u rock

  • @srinithi7757
    @srinithi7757 Před 4 lety +2

    Sir u r great 🙏
    I'm in class 12 since I don't have any good teachers .......
    U r good 😊
    THANK YOU TELUSKO

  • @RAMAKRISHNA-iu3ow
    @RAMAKRISHNA-iu3ow Před 5 lety +35

    x = -10
    if x

    • @manchikatlavamshi1220
      @manchikatlavamshi1220 Před 4 lety

      It prints NEGATIVE

    • @vasusharma413
      @vasusharma413 Před 4 lety +3

      @@manchikatlavamshi1220 Use this code
      a = int(input('enter a number')
      If a >= 0:
      Print ('positive')
      Else :
      Print ('negative')

    • @kushagrarai7799
      @kushagrarai7799 Před 3 lety +3

      what if user enters 0?? must havr condition for zero

  • @sachintak9600
    @sachintak9600 Před 4 lety +3

    Really interesting and fun to watch ❤

  • @aswithyeturi6138
    @aswithyeturi6138 Před 2 lety +1

    Literally awesome its really very fun to learn in easy way thanks for providing such a good tutorial it's boots more focus on programming ❤️💯

  • @ScholarStream_25
    @ScholarStream_25 Před 3 lety +1

    I just completed a code . Watching you sir . Thanks a lot for your work!!

  • @Pavankumar-su4hl
    @Pavankumar-su4hl Před 4 lety +3

    Sir jst few months got a software job in infosys, now learning python 😍

  • @abhinavverma5859
    @abhinavverma5859 Před 5 lety +5

    x = int(input("1st number: "))
    y = int(input("2nd number: "))
    z = int(input("3rd number: "))
    a = [x,y,z]
    print("The greatest number is",max(a))

  • @rvrganesh
    @rvrganesh Před 4 lety

    Nicely explained!! before the session i am confused with nested IF, now it is clear... good sessions sir..

  • @purviasthana7000
    @purviasthana7000 Před 3 lety

    You r great teacher not only for giving such a great knowledge only also because u makes coding so intresting. I love the way of your teaching❤.
    Thanku so much..

  • @pisthaoct03
    @pisthaoct03 Před 4 lety +8

    To get all 3 input in one line:
    x,y,z = int(input('Enter first number: ')), int(input('Enter second number: ')), int(input('Enter third number: '))

    • @sajalgpt8
      @sajalgpt8 Před 2 lety

      x,y,z=int(input("1st Number")),int(input("2nd Number")),int(input("3rd Number"))
      if(x>y&x>z):
      print(x)
      elif(y>z):
      print(y)
      else:
      print(z)

    • @prasanthm4161
      @prasanthm4161 Před 2 lety

      @@sajalgpt8 what is the use of elif and why we use elif

  • @Amit-cg9le
    @Amit-cg9le Před 5 lety +3

    It's great.
    It is just like C language. Just a little difference.

  • @Alberta_Farmer
    @Alberta_Farmer Před rokem

    Again perfect tutorial. Started reading mastering python alongside these lessons!

  • @play_mlbb
    @play_mlbb Před 4 lety +1

    Thank you so much sir. These all class are very usefull and excited sir... due to you we will be good programmer.... love you sir

  • @ishanthmishra7658
    @ishanthmishra7658 Před 4 lety +20

    . Solution to question in the end
    l=int(input ("v1"))
    m=int(input ("v2"))
    n=int( input ("v3"))
    set=[l,m,n]
    print( max(set))

    • @appurvaagarwal5567
      @appurvaagarwal5567 Před 4 lety +2

      While this is correct, I think the purpose of the assignment was to use if and elif operators as well.

    • @erz_mafia
      @erz_mafia Před 4 lety +1

      @@appurvaagarwal5567 x =float(input('enter the 1st value:'))
      y =float(input('enter the 2nd value:'))
      z =float(input('enter the 3rd value:'))
      if x>y and x>z:
      print (""+str(x)+"" ' is the greatest value')
      elif y>x and y>z:
      print(""+str(y)+"" ' is the greatest value')
      elif z>x and z>y:
      print(""+str(z)+ "" ' is the greatest value')

    • @aromala.j3938
      @aromala.j3938 Před 4 lety +2

      @@appurvaagarwal5567 yeah true

  • @jaybahadurthapa1492
    @jaybahadurthapa1492 Před 4 lety +4

    151 thumbs down are the people who doesn't know to appreciate someone's effort to educate people.. Doing selfless services.. For us this teacher is great.. naveen Sir.. U Rock 😎

  • @nagashreebhat6113
    @nagashreebhat6113 Před 3 lety

    sir, you are too good at teaching. and your edits makes easy to learn. you explain every simple thing ,, so that we will understand completly.

  • @starwins5934
    @starwins5934 Před 2 lety

    Really this program is informative for beginners, especially from non IT background... Thank you sir

  • @FLASHBOING
    @FLASHBOING Před 4 lety +81

    *before watching*
    me : i hate python
    *after watching some of the vids *
    also me : oh shit im addicted

  • @chanu312
    @chanu312 Před 5 lety +25

    x = 1
    if x >= 0:
    print("Positive")
    else:
    print("Negative")

  • @Eviee27
    @Eviee27 Před 2 lety

    That's so clean explanation. I'm a bio student and I have to study python for my optionals . Thank you sir for the clean application 😊

  • @neelureddy3655
    @neelureddy3655 Před 3 lety

    this is one of the best python tutorials. THANK YOU!

  • @shubhamshivgunde5847
    @shubhamshivgunde5847 Před 5 lety +8

    n1=int(input("Enter 1st no"))
    n2=int(input("Enter 2st no"))
    n3=int(input("Enter 3st no"))
    if((n1>n2)and(n1>n3)):
    print(n1,"is greatest")
    elif(n2>n3):
    print(n2,"is greatest")
    else:
    print(n3,"is greatest")

  • @harshvora1922
    @harshvora1922 Před 5 lety +12

    Greater in three numbers:
    x = int(input("Enter 1st number: "))
    y = int(input("Enter 2nd number: "))
    z = int(input("Enter 3rd number: "))
    result = (x, y, z)
    print(max(result))

    • @ashiqmohamed6675
      @ashiqmohamed6675 Před 5 lety

      how it works
      result=(x,y,z)
      can you explain this line

    • @DrowsyElephant
      @DrowsyElephant Před 5 lety +1

      @@ashiqmohamed6675 you can use print(max(x,y,z)) works the same way

    • @ashiqmohamed6675
      @ashiqmohamed6675 Před 5 lety

      @@DrowsyElephant thank you

    • @chandsujoy
      @chandsujoy Před 4 lety +2

      Thanks Harsh this works well , but any suggestion on how to handle this using the if , elif , else loop

    • @harshal1611
      @harshal1611 Před 4 lety

      It is wrong

  • @atheekazmi4574
    @atheekazmi4574 Před 3 lety

    x=int(input("enter any plus or minus number"))
    if x

  • @pranavpatil4095
    @pranavpatil4095 Před 3 lety

    best explanation ever no one else can explain so deep and clearly thank you sir helped me a lot .

  • @sahilprasantachoudhury911

    Code for 2nd question:
    a=int(input ('enter first number'))
    b=int(input ('enter second number'))
    c=int(input ('enter third number'))
    num=max(a,b,c)
    print(num)

  • @ramkrishnasen4574
    @ramkrishnasen4574 Před 4 lety +4

    Sir,Thank you very much
    because of you I am feeling so confident and enthusiastic in the coding domain inspite of being a mechanical engineering student.
    Love from West bengal

    • @avashpuitandy549
      @avashpuitandy549 Před 4 lety +1

      Amazing stuff Sir, You are the best You-tuber for learning Python :)

  • @arifafzal9604
    @arifafzal9604 Před 4 lety +1

    Thank you so much to teaching us navin .its really a great work that you are doing for our nation..navin can u pls zoom ur video to better understanding :-: Thanku navin

  • @thedarklord271
    @thedarklord271 Před 2 lety

    So glad I found you you explain the little things that make everything click! You earned yourself another sub(:

  • @sanjeevpandey2753
    @sanjeevpandey2753 Před 5 lety +5

    Sir, colon is missed at the end :-) I tried running

  • @amit8932
    @amit8932 Před 5 lety +7

    x=int(input('enter a number1'))
    y=int(input('enter a number2'))
    if x > y:
    print('x is the greater number')
    else:
    print('y is the greater number')

    • @anuragchauhan2577
      @anuragchauhan2577 Před 5 lety +3

      y=int(input())
      z=int(input())
      a=int(input())
      x=[int(y),int(z),int(a)]
      print(max(x),"is largest")

    • @luckyprathyusha7135
      @luckyprathyusha7135 Před 5 lety

      @@anuragchauhan2577 here we want to use if else and elif and write the program

  • @harshanasemasinghe446
    @harshanasemasinghe446 Před 3 lety +1

    x = input("enter the 1st number ")
    y = input("enter the 2nd number ")
    z = input("enter the 3rd number ")
    if x>y and x>z:
    print( x +" is the greatest number")
    elif y>x and y>z:
    print( y +" is the greatest number")
    else:
    print( z +" is the greatest number")

  • @mrlokeshkumar76
    @mrlokeshkumar76 Před 3 lety +2

    a = 4
    b = 6
    c = 7
    if a > b and a > c:
    print(a)
    elif b > c and b > a:
    print(b)
    else:
    print(c)

    • @anshul1047
      @anshul1047 Před 3 lety

      this is wrong
      this is the correct one
      print ('give three numbers and i will give you the highest of them')
      d, e, f= int(input('enter first number')), int(input('enter second number')), int(input('enter third number'))
      if d> e and d> f:
      print(str(d) + ' is the greatest' )
      elif e> f and e> d:
      print( str(e) +' is the greatest')
      elif f> e and f> d:
      print(str(f) + ' is the greatest')

  • @parthvats4209
    @parthvats4209 Před 4 lety +9

    ir this is your answer
    x = int(input("enter the number - "))
    if x > 0 :
    print("positive integer")
    else :
    print("negative integer ")
    hope it is correct

    • @MaulikSrivastava
      @MaulikSrivastava Před 4 lety +1

      This is kinda correct. You should put an elif statement just in case x=0

  • @NileshKantak
    @NileshKantak Před 6 lety +3

    superb yaar :)

  • @sachin01663
    @sachin01663 Před 4 lety +1

    Thanks for the video. Very basic question but what if I want to create another column in the dataframe instead of Print? Will be great if you can share the syntax

  • @harikrishna8060
    @harikrishna8060 Před rokem +1

    1.
    a= values
    if a>0:
    print('positive')
    else:
    print("negative').
    2.
    a,b,c=5,8,11
    if a>b and a>c:
    print('a is highest')
    if a

  • @YashhC
    @YashhC Před rokem +3

    You made it so easy! I could do the quiz questions in just 10 mins!
    1. print("Let's check if a number is +ve or -ve.")
    print()
    x = int(input("Enter a number: "))
    if x > 0:
    print("You entered a positive number")
    else:
    print("You entered a negative number")
    print("See you later!")
    2. print("Let's check the highest of 3 numbers you give.")
    print()
    first_num = int(input("Enter the first number: "))
    second_num = int(input("Enter the second number: "))
    third_num = int(input("Enter the third number: "))
    maximum = max(first_num, second_num, third_num)
    print("Highest number is " + str(maximum))

  • @sanketthakre309
    @sanketthakre309 Před 4 lety +19

    Others : 1.25x
    Telusko : 0.75x

  • @shrutiagrawal8015
    @shrutiagrawal8015 Před 3 lety +2

    number1 = int(input('Write your first number of choice'))
    number2 = int(input('Write your second number of choice'))
    number3 = int(input('write your third number of choice'))
    z = max(number1,number2,number3)
    print('your maximum number is:')
    print(z)

  • @im_tori1
    @im_tori1 Před 9 měsíci

    I started learning python with udemy last month, got so confused that I had to use other methods, you have a great style of teaching and it has helped improved my knowledge of python❤

  • @superhumanformula3481
    @superhumanformula3481 Před 5 lety +4

    x = int(input("int 1 : "))
    y = int(input("int 2 : "))
    z = int(input("int 3 : "))
    highest = max(x, y, z)
    print(highest)

    • @er.waseem8695
      @er.waseem8695 Před 5 lety +1

      You can also write it like this as a beginner::
      a=int(input('Enter the 1st no.: '))
      b=int(input('Enter the 2nd no.: '))
      c=int(input('Enter the 3rd no.: '))
      if(a>b and a>c):
      print('the greatet no is',a))
      elif(a>c):
      print('{} is largest'.format(b))
      else:
      print('{} Is largest'.format(c))

    • @shubhrajit2117
      @shubhrajit2117 Před 5 lety

      Why only integer?

  • @bhavnashard5327
    @bhavnashard5327 Před 3 lety +3

    In last statement.....
    else
    print('Wrong Input')
    Colon(:) is missing

  • @evelinebinu8501
    @evelinebinu8501 Před 3 lety

    Amazing class sir, I had only slight intrest in coding now I am addicted to it😃.

  • @sumankumarnishanka
    @sumankumarnishanka Před 4 lety

    Sir I love ur teaching style
    Plz make videos for complete course of Html & Css.

  • @rachitkumar1497
    @rachitkumar1497 Před 6 lety +3

    x=int(input('Enter a number:'))
    if x

  • @rohankiratsata1161
    @rohankiratsata1161 Před 5 lety +31

    a=int(input("1st no"))
    b=int(input("2nd"))
    c=int(input("3rd"))
    num=[a,b,c]
    num.sort()
    #IT WILL SORT NO. IN ASCENDING ORDER
    print(num[2])

    • @vineetsingh4318
      @vineetsingh4318 Před 5 lety +2

      i think the sort list will be print like this "print(num)"

    • @rohankiratsata1161
      @rohankiratsata1161 Před 5 lety

      @@vineetsingh4318 no

    • @MaulikSrivastava
      @MaulikSrivastava Před 4 lety +4

      You can also use max(num). This will directly give the greatest no.

    • @MaulikSrivastava
      @MaulikSrivastava Před 4 lety +1

      @@vineetsingh4318 it doesn't really matter, the list will be stored in the computer anyway

    • @scripttag9235
      @scripttag9235 Před 4 lety

      a = int(input("1st no"))
      b = int(input("2nd"))
      c = int(input("3rd"))
      li = [a,b,c]
      li.sort()
      print(li)
      Like this?

  • @owenkosimontekhumalo5653
    @owenkosimontekhumalo5653 Před 4 lety +1

    1.
    x=2.995
    if x >=0:
    print("Positive Value")
    else:
    print("Negative Value")
    2.
    print("Welcome to the greatest value calculator, enter three values to begin")
    x= int(input('Enter First Number'))
    y= int(input('Enter Second Number'))
    z= int(input('Enter Last Number'))
    if x>y and x>z:
    print(x)
    elif y>x and y>z:
    print(y)
    elif z>y and z>x:
    print(z)
    else:
    print("Values are Equal or Wrong Input")

  • @abhiseksahoo5860
    @abhiseksahoo5860 Před 3 lety

    Thank u so much for creating the python series ...It really helps me in learning python.

  • @olivekuchri
    @olivekuchri Před 4 lety +7

    set=[2,1,4,5]
    set.sort()
    print(set)
    print(max(set))