Variables, Datatypes and Typecasting | Python Tutorials For Absolute Beginners In Hindi #7

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 4.7K

  • @rameezfaisal9553
    @rameezfaisal9553 4 ปีที่แล้ว +939

    This man is doing just next level help . May he reach to the top.

  • @anitarai6327
    @anitarai6327 2 ปีที่แล้ว +18

    New to coding.
    Saw lot of videos about him heard so much about him being the best code tutor online. Yes , he really is . Wish we had a teacher like him in colleges and schools .

  • @mythicalgamer007
    @mythicalgamer007 4 ปีที่แล้ว +345

    What a teaching skills bro really
    I showed this to my IT teacher and she was jealous 😂

  • @rehan871
    @rehan871 2 ปีที่แล้ว +17

    Good Day Harry bhai,
    Im Rehan Hanif from Pakistan. This is my first ever coding course in my life. I've joined your course to learn Python just because of your extremely easy way of teaching. You are doing a great job Harry Bhai. Hatts Off to you:
    Here is my first try of your given quiz: Hope I did it right way
    """Quizz: simple calculator program to add two numbers"""
    print("Enter first number: ")
    num1 = input()
    print("Enter second number:")
    num2 = input()
    print("The sum of two numbers is", int(num1) + int(num2))

  • @ashmitkanti8505
    @ashmitkanti8505 2 ปีที่แล้ว +31

    Hello Harry bhai solution is
    print("Add your first number:- ")
    n1 = input()
    print("Enter your second number:- ")
    n2 = input()
    print("Your result to addition to numbers is:-", int(n1) + int(n2))
    Thank You for bringing amazing courses.

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

      same to you😇

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

      hat lawde

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

      man thats to big my ans is in 3 lines

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

      n1=int(input("enter your first number "))
      n2=int(input("enter your secound number "))
      print("total is",n1+n2)

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

      ​@@neeladrii thanku mera isme work kar gya 😂🎉

  • @knightgaming9487
    @knightgaming9487 3 ปีที่แล้ว +18

    I'm a railway employee, i have just started to learn python and it's helpful.
    Keep up good work.😎

  • @hunnanmustafa2813
    @hunnanmustafa2813 4 ปีที่แล้ว +10

    ur like an angel who came to my life to sought all problems , cos of just presentations made these days by teachers , i was unable to understand , but your teaching is awesome , salute and hats off to you , thnku

  • @Famtik
    @Famtik 4 ปีที่แล้ว +36

    Quiz 1 :
    Print ("enter your first number")
    inpnum = input()
    print("enter your second number")
    inpnum1 = input()
    print("your answer is" , int(inpnum) + int(inpnum1)
    Thank You So Much Harry You Made My Lockdown 💥

    • @KrishuYadavGoogle-Heiscrazy
      @KrishuYadavGoogle-Heiscrazy 4 ปีที่แล้ว

      @TM Gamerz lol

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

      aakhri me print me bracket close kar de bhai

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

      You can do it by
      Num1 = float("Enter a number ")
      Num2 = float("Enter another number")
      print(float(Num1 + float(Num2)))

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

      The first letter of first print is in uppercase. interpreter will show an error.

    • @Ari-pu3qv
      @Ari-pu3qv 4 ปีที่แล้ว

      @@ranjanaprajapati5853 wrong answer bro :)

  • @yogeshnandurkar2147
    @yogeshnandurkar2147 2 ปีที่แล้ว +22

    print("what is your first number")
    inpnum1=input()
    print("what is your second number")
    inpnum2=input()
    print(int(inpnum1)+Int(inpnum2))
    Thanks Harry👌

    • @gyroshotgaming6886
      @gyroshotgaming6886 2 ปีที่แล้ว +1

      bhai " print(int(inpnum1)+Int(inpnum2)) " is line m 2nd Int glt h int hona cahiyee error

  • @darshangourkhede7388
    @darshangourkhede7388 3 ปีที่แล้ว +22

    Kay he opp teacher he 🙏🙏🙏 I never see a programer teacher to teach program like Harry sir

  • @KoushikDas2005
    @KoushikDas2005 2 ปีที่แล้ว +4

    I am here from your new python series.
    Watching this for revision.
    Date: 21 December 2022
    14:47 exercise -1
    N1=eval(input ("Enter number:"))
    N2=eval(input("Enter number:"))
    S=N1+N2
    print ("Sum of N1 and N2 is ", S)
    # I used eval because it has asked to add two numbers,neither two integers nor two floats.

  • @rajneeshsharma2249
    @rajneeshsharma2249 6 ปีที่แล้ว +9

    print("Enter The First Numbner:")
    inpnum1 = input()
    print("Enter The Second Numbner:")
    inpnum2 = input()
    print("Sum Is ",int(inpnum1)+int(inpnum2) )

  • @ishtiaqahmed9829
    @ishtiaqahmed9829 2 ปีที่แล้ว +1

    a = int(input("Enter first number "))
    b = int(input("Enter second number "))
    print(a + b)

  • @ayushsahu5808
    @ayushsahu5808 3 ปีที่แล้ว +78

    I have done my first project in my life
    And I am glad to say : I AM SUCCESSFUL 😊😊
    BECAUSE OF U ONLY SIR ❤️❤️

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

    From today you are my master in coding. You are really a good teacher.

  • @shashiross6539
    @shashiross6539 6 ปีที่แล้ว +8

    print("Enter any two no. for addition:- ")
    a = int(input())
    b = int(input())
    print("Addition = ",a+b)

  • @siddharth4251
    @siddharth4251 2 ปีที่แล้ว +1

    i start this now...but thank you very much bro...today i make my first calculater.....and it increase my confidence...

  • @Guy_withAutism
    @Guy_withAutism 2 ปีที่แล้ว +9

    You can use int in variable too
    For ex:-
    N1 = int(input("enter your first number"))
    N2 = int(input("enter your second no."))
    With this you dont have to use int in ur print

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

      thanks bro, From where did you learned this

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

      thanks bro, From where did you learned this

  • @shreyashbhakare1648
    @shreyashbhakare1648 4 ปีที่แล้ว +31

    print("Thank you so much sir for this tutorial","You make my lockdown great " )

    • @ItsMe-zr9xf
      @ItsMe-zr9xf 4 ปีที่แล้ว

      Aapke kitne lecture ho gye Abhi tk ?

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

      @@ItsMe-zr9xf 20 lectures ho gaye hai . vaise mai ise jyada samay nahi te pata hu. aapke kitne hogaye hai.

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

      @@shreyashbhakare1648 const superHeroes=['Iron Man', 'Spiderman', 1, 'true'];
      superHeroes.foreach(function(){
      console.log('Chal Chal bap ko mat sikha)
      })😂😂

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

      @@shlokrana703 bhai tune toh Ek Naya hi language bana diya?

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

      @@abictor3312 bhai Vanila JavaScript nahi padi kya??

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

    14:40
    print("Input first number")
    inpnum1 = input()
    print("input second number")
    inpnum2 = input()
    print("answer=" , int(inpnum1) + int(inpnum2))

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

    quiz ans
    print("enter your first number ")
    num1=int(input())
    print("enter ur secod no")
    num2=int(input())
    print ("result for your question is ", num1 + num2 ).
    thank you .

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

    #addition of 2 numbers using python
    print("give the numbers u want to add")
    var1=input()
    var2=input()
    var3=int(var1)+int(var2)
    print(var3)

  • @vishal13230
    @vishal13230 5 ปีที่แล้ว +39

    print("Thanks Harry")

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

      Thanks Harry

    • @rohanhajare7081
      @rohanhajare7081 4 ปีที่แล้ว +2

      var1="8"
      var2="4"
      print(10*str(int(var1)+int(var2)))
      jo answer aane wala hai oo muje next line pe chahiye yaha
      kaha lagauuu
      plzzz guide me....

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

      @@rohanhajare7081 bhai answer next line me hi aaega na bina /n lagaye

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

      @@gloryjaw4327 ans na 12121212121212121212 essa aa raha hai muje
      12
      12
      12
      esaa chahiye

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

      @@rohanhajare7081 uske liye while loop lgana padega

  • @siddheshpanajkar660
    @siddheshpanajkar660 3 ปีที่แล้ว +89

    print("Horlicks ka dibba as a container is very much relatable as a container to understand the variable")

    • @issanpanda
      @issanpanda 3 ปีที่แล้ว +8

      @Musical Novice a = "L"
      b= "O"
      c= "L"
      print (a+b+c)

    • @Ayaan-eu6ci
      @Ayaan-eu6ci 3 ปีที่แล้ว

      @@issanpanda LoL

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

      @@issanpanda nice

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

      @@issanpanda output : LOL
      😂

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

    print("Enter 1st numbers")
    var1 = input("")
    print("enter 2nd number you want to calculate with")
    var2 = input("")
    print("sum of these numbers is", (int(var1) + int(var2)))
    maine yeah code likha calculator ke liye and it works I feel proud of myself right now
    Thanx Harry Bhai

  • @aviralpathak7497
    @aviralpathak7497 5 ปีที่แล้ว +21

    x = int(input("Enter first number: "))
    y = int(input("Enter second number: "))
    print(x + y)

    • @shubhankgupta5937
      @shubhankgupta5937 4 ปีที่แล้ว +2

      ✌️

    • @bushranikhat2326
      @bushranikhat2326 4 ปีที่แล้ว +2

      Programmers prefer short codes.👍

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

      @@bushranikhat2326 ap ko programing ..means pyrhon ati hai?

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

      Not working in sololearn

  • @er_engineer_bro8953
    @er_engineer_bro8953 3 ปีที่แล้ว +7

    Thanks a lot sir u r so great sir as compared to my college's teachers and professors (and ur series is free off cost) because in my college teachers only says prepare only theories for ur examination u will passed but in exam questions paper was only program bassed and I got back, now I'm 3rd student of mechanical engineering.... Love you sir

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

    quiz 1 answer
    print("welcome to python calci")
    print("please enter numbers you want to add up")
    print("your first number")
    inpnum = input()
    print("your second number")
    inpnum2 = input()
    print("your result is", int(inpnum) + int(inpnum2))
    YOUR VIDS ARE AWESOME BIG BROTHER I AM 18 YEARS OLD THIS HELPING ME A LOT TO LEARN PYTHON THNX, BTW I MADE THIS CALCULATOR THANKS ONCE AGAIN....

  • @akshayshirol4132
    @akshayshirol4132 4 ปีที่แล้ว +14

    May god bless your work Harry, and make you and you family live for more time. I also wish that you reach 100M subscribers soon.

  • @aswinkrishna204
    @aswinkrishna204 3 ปีที่แล้ว +10

    Harry thx a lot getting a lot of interest in python.

  • @dipikapatel9518
    @dipikapatel9518 3 ปีที่แล้ว +14

    This guy is doing more than needed for us to teach us coding (pthon)
    I would say only one thing to like , share & subscribe.
    Keep going .✌

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

    print( "1st Number" )
    inpnum = input()
    print("2nd number")
    inpnum2= input()
    print( "Your result", int(inpnum)+ int(inpnum2))
    it worked bro. thank you harry for teaching coding in such a easy way. i being a medicine student never thought learning coding can be this interesting

  • @oneseven1
    @oneseven1 2 ปีที่แล้ว +37

    After learning C, C++ and Java..this language seems to me quite easy... And all this made possible by CodeWithHarry.
    ThankYou for bringing amazing courses for public ♥️

    • @LoveleshVideos
      @LoveleshVideos 2 ปีที่แล้ว +1

      Gazab tu too coder bn gya ab 1 lakh ki job fix hai jldi jaaa

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

      @@LoveleshVideos kis,bat ka,ghussa h bhau

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

      @@Silenttagmotion wo gussa karraha hai

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

      Print(“enter the first number”)
      a=input()
      print(“enter the second number”)
      b=input()
      print(int(a) +int(b))

    • @mr.bankrupt6123
      @mr.bankrupt6123 2 ปีที่แล้ว

      bro I recently started coding what do you think is python a good language to start with ?

  • @abhishekmathur1042
    @abhishekmathur1042 2 ปีที่แล้ว +4

    Hello harry, I have started learning python your tut and i also solve your quiz of making a calculator in a one go without any error, thanks to you for explaining things in such a way, kudos to you man👍👍👍👍

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

    I am very happy and feel energetic by making calculator of my own code.
    thank you harry bhai for teaching us

  • @007lakshya2
    @007lakshya2 4 ปีที่แล้ว +8

    Oh Yes, I made my first calculator without any help or answer, and it worked, Thank You Very Much Mr. Harry!!!!

  • @kareemfitness1
    @kareemfitness1 3 ปีที่แล้ว +16

    Print("enter first number")
    inpnum = input()
    Print("enter second number")
    inpnum1 =input()
    Print("addition is",int(inpnum) + int(inpnum1) )

    • @Streltsi_007
      @Streltsi_007 3 ปีที่แล้ว +2

      or u can simply write
      a = int(input("Enter First Number: "))
      b = int(input("Enter Second Number: "))
      print(f"The Sum is: {a + b}")
      writing int/str/float at the beginning would automatically change your string type into an integer type, and vice-versa, so that u don't need a huge block of code

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

      @@Streltsi_007 why did you use f before double quotes.???

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

      @@ashukumar2851 these are called F-Strings… it lets you use values within your strings

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

    print("enter the first number")
    inpnum1=input()
    print("Enter the second number")
    inpnum2=input()
    var1=sum
    sum=(int(inpnum1)+int(inpnum2))
    print("The sum of two numbers:",int(sum))
    sir this is my code (best teacher sir) LOVE FROM PAKISTAN😍😍😍

  • @m.kamran187
    @m.kamran187 3 ปีที่แล้ว +5

    14:44
    inpnum = input("Enter first Number: ")
    inpnum1 = input("Enter second Number: ")
    print("The sum of your number is", int(inpnum)+int(inpnum1))
    # Created by "Kamran Khan"

  • @alnahian8051
    @alnahian8051 3 ปีที่แล้ว +13

    Answer:
    a = int(input("Enter the first number: "))
    b = int(input("Enter the second number: "))
    plus = a + b
    print("The summation is:", plus)

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

      No he/she is wrong

  • @anmol8729
    @anmol8729 2 ปีที่แล้ว +3

    Print ("tell the first number")
    Num1 = input()
    Print("now pls tell the second number")
    Num2 = input()
    Print ("the answer is" , int(Num1) + int(Num2))

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

    "word to word" NOPE
    "CODE TO CODE " Samajh aaya
    A Very Very Thank U Sir

  • @disha12268
    @disha12268 2 ปีที่แล้ว +4

    This vedio is amazing ! and the course is just on another level ❤❤.
    I even can't explain my feelings , you are the best coding teacher ever for me!
    My approach for the quiz is:
    print ("Enter number1")
    Num1 = input()
    print("Enter number2")
    Num2 = input()
    sum = (int(Num1) + int(Num2))
    print("The sum is: " + Street(sum))
    Is it right or not ?
    I tried my best!

  • @sapkatharatm
    @sapkatharatm 5 ปีที่แล้ว +7

    or
    print("Sum = ",int(input("Enter 1st number: ")) + int(input("Enter second number: ")))

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

    Bhai bhot sahi....meine iske pahale aapka video dekh ke pahale baar program likha tha....ab ye video dekh kr khud se calculator bana liya....thank u Bhai your video helping me alot

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

    I made the one that can add decimals also but if u want u can use int instead of float ,it will give u the integer sum.
    Thankyou very much Harry sir.
    print("Enter number A")
    inpnum1 = input()
    print("Enter number B")
    inpnum2 = input()
    print("Hence, the sum is")
    print(float(inpnum1) + float(inpnum2))

  • @RameshKumar-ip5nj
    @RameshKumar-ip5nj 4 ปีที่แล้ว +53

    Quiz Answer:
    firstnum = input("Enter first number")
    secondnum = input("Enter second number")
    print(firstnum, '+', secondnum, '=', int(firstnum)+int(secondnum))

    • @AMANSHARMA-uj1rm
      @AMANSHARMA-uj1rm 3 ปีที่แล้ว

      H

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

      Why it is not working when i opened it in explorer 🥺

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

      Bhai galt h yeh

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

      @@soleil2816 print("enter your first number")
      number1=input()
      print("enter your second number")
      number2=input()
      print("total",int(number1)+int(number2))

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

      @@soleil2816 yea try karo

  • @readwithme-nehachahar5587
    @readwithme-nehachahar5587 2 ปีที่แล้ว +3

    a = int(input("Enter a number"))
    b = int(input("Enter another number"))
    c = a + b
    print(f"The sum of the two numbers you entered is {c}")

    • @Engr.AbdulqadirChoudhary
      @Engr.AbdulqadirChoudhary 2 ปีที่แล้ว

      Error

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

      print("welcome to python calci")
      print("please enter numbers you want to add up")
      print("your first number")
      inpnum = input()
      print("your second number")
      inpnum2 = input()
      print("your result is", int(inpnum) + int(inpnum2))

  • @apoorvtiwari1627
    @apoorvtiwari1627 2 ปีที่แล้ว +1

    print("Enter Your First Number")
    first_number = input()
    print("Enter Your Second Number")
    second_number = input()
    print("Your Answer is", int(first_number) + int(second_number))

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

    solution of quiz:-
    a=int(input("enter first number"))
    b=int(input("enter second number"))
    print("sum of these numbers is", a+b)

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

    all youtubers are here to make money from these ads but you really want to help us

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

    Thank you very much sir!! You really helped me understand the basics of Python which my school teachers were not able to do so.
    Also, to get the sum of 2 or more numbers, I tried this method -
    n1 = int(input("Enter the first number = "))
    n2 = int(input("Enter the second number = "))
    n3 = int(input("Enter the third number = "))
    print ("The sum of these three numbers are = ", n1+n2+n3)
    ----X----
    This code did work, but, I just wanted to know if this is the correct method to follow during practical in school?

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

    14:36
    num1 = int(input("Enter first number:
    "))
    num2 = int(input("Enter second number:
    "))
    print('The sum of these two numbers is', num1 + num2) # you are awesome bro!

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

    I made My First Calculator with float(firstN) + float(secondN)
    For Decimals and It work 😃
    Thanks Sir 🙏🏻🙏🏻🙏🏻

  • @Rohan-ct3tm
    @Rohan-ct3tm 3 ปีที่แล้ว +59

    The same way you can do subtraction multiplication and division also ✌️ ( Just Change the signs )
    Plus : Add float Instead of Int to get Solution of decimals also 👍

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

      hi

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

      Bro i can 't print var1 = "hello world' var4 = 45.5
      i get error and error again
      can you explain it?

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

      @@shortsforuse7979 because in var1 u used only single' quote it should be like this"hello world"

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

      @@saachigupta4545 ok thanks

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

      Hi i am putting
      print("do you know the double of your number ?")
      print(2* str(inpnum))
      But it's showing
      do you know the double of your number?
      It's 7070
      Rather than
      It's 140

  • @ruchirijate1549
    @ruchirijate1549 4 ปีที่แล้ว +10

    Quiz :-
    print("Welcome to Addition calculator
    " "This calculator can done only addition oeration(+)")
    var1=(int(input("Enter first number ")))
    var2=(int(input("Enter second number")))
    print("Your result is" , var1 + var2)

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

    print("Your first number is")
    num1=input()
    print("Your second number is")
    num2=input()
    print(int(num1)+int(num2))
    Thank you so much "Harry Bhai" I'm also from Rampur

  • @kaal2879
    @kaal2879 6 ปีที่แล้ว +12

    CODE: For add calculator
    print("Enter 1st number")
    inp1=input()
    print("Enter 2nd number")
    inp2=input()
    print("The addition of 1st & 2nd number is:",int(inp1)+int(inp2))

  • @STProductionssrb
    @STProductionssrb 6 ปีที่แล้ว +5

    Great Tutorial. !!

  • @surekhadeore9283
    @surekhadeore9283 4 ปีที่แล้ว +19

    Quiz -1 Answer
    print("Addend 1")
    Number1 = input()
    print("Addend 2")
    Number2 = input()
    print("So the sum of the two addends is ", int(Number1) + int(Number2) )
    I know I am late but you will find my comment in each of his Python tutorials 😊😊

    • @rohanhajare7081
      @rohanhajare7081 4 ปีที่แล้ว +2

      var1="8"
      var2="4"
      print(10*str(int(var1)+int(var2)))
      jo answer aane wala hai oo muje next line pe chahiye yaha
      kaha lagauuu
      plzzz guide me....

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

      @@rohanhajare7081
      laga na

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

      @@vibhu613 kaha bhai

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

      @@rohanhajare7081 Nahi yaar o method kaam nahi kar ri.. Jo mai socha tha... Isko loop lagana padega

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

    n1 = int(input("type frist number"))
    n2 = int(input("type second number"))
    print(n1 + n2)

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

      I used this command and took the first no. 6 and second 7
      But the output is 6. Infact the output is the the number I took as n1. Please help :)
      if i only use n1= int("1st no.")
      n2=int("2nd no.)
      then it works fine

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

      @@guri735 in the mentioned code how are you getting your input?

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

      Because you have used type keyword here

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

    harry bhaiya please tell how to print the output of print(100*str(int(var1)+int(var2))) in new line each

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

      Yes harry bro... please tell how to print in new line each? TIA :)

  • @SandhyaSharma-wr1vv
    @SandhyaSharma-wr1vv 4 ปีที่แล้ว +5

    The Python Programming tutorials till now are going very smooth. Thank Yous so much for your support! var1='Harry ' var2='is the ' var3='best' print(var1+var2+var3) OUTPUT: Harry is the best

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

      right

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

      Wrong code
      This should be like
      Double quote
      ("Harry") not ('harry)

  • @saumya248
    @saumya248 2 ปีที่แล้ว +1

    Hlo Harry Bhai, apply very hardwork to continue. I appreciate you hardwork. Keep it up.

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

    My Solution:
    """
    A calculator that adds two numbers.
    """
    print("Enter your number:")
    num1 = input()
    print("Enter second number:")
    num2 = input()
    print("Your Answer is:",int(num1)+ int(num2))

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

      Hey ! I would like to suggest some changes :
      1.There is no need to print Enter your number . You can write that in the input function.
      2.I know this is not a really valid suggestion , but you can directly convert it into int value when you take the input.
      3. In the output, you will have to put int(num1)+ int(num2 in brackets and convert to string like this str(int(num1)+ int(num2). Python will not allow you to print int values along with a str value .
      Code :
      num_one=int(input("Enter your Number : "))
      num_two=int(input("Enter your Number : "))
      print("The sum is : "+ str(num_one+num_two))
      Output :
      Enter your Number : 4
      Enter your Number : 5
      The sum is 9

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

      @@vishnujoshi2461 correct.. But the input numbers r not shown in the output!

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

    var=int(input("enter a number"))
    var2=int(input("enter a number"))
    Print("sum=",var+var2)

  • @harshadgowardhanbhai1846
    @harshadgowardhanbhai1846 6 ปีที่แล้ว +7

    I'm First Sab Se Pahale Like Kar De Ta Hu 👍

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

    print("enter your 1st no")
    num1= input()
    print("enter 2nd no")
    num2=input()
    a= int(num1)+int(num2)
    print("the sum of number is " ,a )
    #thank you harry

  • @okayokay-wd9rh
    @okayokay-wd9rh 3 ปีที่แล้ว +53

    print(100*"Thank you
    ")

  • @iam__boss
    @iam__boss 4 ปีที่แล้ว +5

    Sir this is right
    print("enter your first number")
    inpnum = input()
    print("enter your second number")
    inpnum1 = input()
    print("you enterd", int(inpnum)+int(inpnum1))

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

    I had already started making my first calculator during the video when he said to do so. 😂
    Coincidence...😁😁😀😂

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

    print("enter your first number")
    Print("enter your second number")
    Inpnum 1 = input()
    Inpnum 2 = input()
    Print ("enter your first number","enter your second number", int(inpnum 1) + (inpnum 2)
    Kuch ziyada he mistakes hogai thi lekin ab correction karli thank you sir

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

    print ( "Your name ",name )
    print("Your age is ",age)'''
    a=int(input ("Enter your first number "))
    b=int(input ("Enter your second number "))
    c=a+b
    print(c)

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

    QUIZ:
    print("enter first number ")
    a = int(input())
    print("Enter second number")
    b = int(input())
    print("The addition is ", a+b)

  • @adityasahu2035
    @adityasahu2035 4 ปีที่แล้ว +20

    8:25 now I can write I am sorry 100 times

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

      Me too XD

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

      As simple as f**k

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

    Thanks SIr
    You can also use,
    print("Enter your first number")
    n1=int(input())
    print("Enter your second number")
    n2=int(input())
    print("Addition to these are", (n1)+(n2))

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

    print("write your 1st number: ")
    first=int(input())
    print("write your 2nd number: ")
    sec=int(input())
    print(first+sec)

  • @DhruvalBhinsara
    @DhruvalBhinsara 4 ปีที่แล้ว +5

    I have no trust on my IT teacher, she is teach entire class just html from past 6 months and not even any other thing not even css,java or php

  • @udit886
    @udit886 4 ปีที่แล้ว +34

    plot twist : the whole series is made in one day.😁

  • @arpitlekhwar
    @arpitlekhwar 4 ปีที่แล้ว +52

    print("Horlicks Ke dibbe mein namak")😂😂😂😂

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

      @Samarth Kaul lol

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

      😅😅😅😅good joke

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

      Syntax error!!

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

      @@amitabhanand12 i didn't wrote that emojis as a code

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

      @Samarth Kaul i didn't wrote that emojis as a code

  • @Coding_Asmr_PraDev
    @Coding_Asmr_PraDev 6 ปีที่แล้ว +16

    Bhai to editing me bhi master hai.
    Whatsapp no plz for queries

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

    Var1="Harry "
    Var2="Is "
    Var3="The "
    Var4="Best "
    Print(var1+var2+var3+var4)

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

      Yaha pe 'var' likhna jaroori nahi hai kuch bhi likh sakte hai
      Mai to a , b , c , etc likhta hu 👍🏾

    • @pakshalghiya5750
      @pakshalghiya5750 4 ปีที่แล้ว +2

      There should be an error.
      Because in the declaration you've entered capital 'V' & in the print statement it's small 'v'.

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

      @@pakshalghiya5750 also print's P is written in capital so...

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

    print("Enter Your Number: ")
    ans = input()
    print("Enter Your Second Number: ")
    ana = input()
    print("Your Answer is",(int(ans) + (int)(ana)))
    Thanks So Much For This Course Harry Bhai

  • @techieroy6177
    @techieroy6177 6 ปีที่แล้ว +11

    Kon hai vai tu jinone dislike kiya!!
    I really hate this kind of people. Samaj nehi aya to comment me bol. Dislike q kiya😡😡

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

      Ara bhaiii ya serf Demotivate Kara Janta ha or kuch nahi aata in logo ko

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

      @@smileplz1334 to fir nehi dekho na.. eya tumhari problem ham logo k nehi

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

      @@techieroy6177
      Kiski problem bhaii esma ma tumhari baat Ko sahi Bata Raha hu dang SA padoo

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

      Pakistan se honge wo log... Jalte hai wo log humse

    • @Adityasingh-sq7gd
      @Adityasingh-sq7gd 5 ปีที่แล้ว

      Bhai mere me var likh rha hu to kaam nahi kr rha

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

    print("Enter first number")
    num1=input()
    print("Enter second number")
    num2=input()
    print("Sum of "+num1+" and "+num2+" is" ,int(num1)+int(num2))
    Thanks guru ji

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

    14:40
    print("Enter first number
    ")
    impnum = int(input())
    print("Enter 2nd number
    ")
    impnums = int( input())
    print("Addition of two digits are ",impnum + impnums)
    print("Enter first number
    ")
    impnum = input()
    print("Enter 2nd number
    ")
    impnums = input()
    print("Addition of two digits are ",int(impnum) + int(impnums))
    Thank u sir.

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

    Harry bhai 12 years is my age and wanted to learn python so I have joined your course I even made calculator with sum, multiplication, division and subtraction this being my first python program I am very proud of myself

  • @Troy-n2z
    @Troy-n2z ปีที่แล้ว

    Solution:
    num1 = int(input("Enter Your First Number: "))
    num2 = int(input("enter Your Second Number: "))
    print(num1 * num2)
    Thanks Bro for such help

  • @akashjaiswal1782
    @akashjaiswal1782 2 ปีที่แล้ว +1

    i think it's right
    print("Enter your first number")
    firstnum = input()
    print("Enter your second number")
    secondnum= input()
    print("your final result=",int(firstnum)+int(secondnum))

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

    print("Enter First Number : ")
    num1 = int(input())
    print("Enter Second Number : ")
    num2 = int(input())
    sum = num1 + num2
    print(sum)
    I really like your videos.

  • @jaithakur9581
    @jaithakur9581 2 ปีที่แล้ว +1

    first = input("first: ")
    second = input("second: ")
    sum = float(first) + float(second)
    print("sum: " + str(sum))
    calculator code

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

    hello harry sir i am a student of class 6th and i am getting so much help by watching your videos and the solutionisHello Harry bhai solution is
    print("Add your first number:- ")
    n1 = input()
    print("Enter your second number:- ")
    n2 = input()
    print("Your result to addition to numbers is:-", int(n1) + int(n2))
    Thank You for bringing amazing courses.

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

    14:48---->>>
    print("Enter the first number")
    a=float(input())
    print("Enter the second number")
    b=float(input())
    print("sum is ",a+b)

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

    Container example is super.
    Ek hi example me concept samajh me aaya.

  • @anstudios1352
    @anstudios1352 2 ปีที่แล้ว +1

    x=int(input(" enter a number"))
    y=int(input("enter a number"))
    print("sum of "+str(x)+" and "+str(y)+" is ",x+y)

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

    #thanks for making this playlist
    print("enter 2 numbers")
    num1=input()
    num2=input()
    print(int(num1) + int(num2))

  • @JunxEAfc
    @JunxEAfc 2 ปีที่แล้ว +1

    14:40
    Print("enter Your first number")
    a = input ()
    Print("inter Your second number")
    b = input()
    Print("Ans",int(a)+int(b))

  • @dhruvjain2874
    @dhruvjain2874 2 ปีที่แล้ว +1

    #Simple Calculator which just adds two number
    print("Enter Num1: ")
    num1 = input()
    print("Enter Num2: ")
    num2 = input()
    print("Addition = ",int(num1)+int(num2))

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

    you are the first teacher who teach me how to code thank you harry bro for teach me coding

  • @dineshaher9634
    @dineshaher9634 2 ปีที่แล้ว +1

    Coding ki feel aa gayi Harry Bhai , Its my first language...Thank you :)