How to Create a Simple Calculator using Python Programming Language

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

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

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

    I wish everyone could do coding tutorials like you, keep it up man

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

      Thank you 😊

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

      @@LearningLad yeah no problem, from that vid alone u gained a sub from me, ur vids are great. I just started coding and I helped a lot so like I said keep it up.

  • @marifer6918
    @marifer6918 3 ปีที่แล้ว +12

    I like how you explained it precisely and directly - just like the language used. I don't know much about programming, especially with Python language, I've only ever read about this language and is learning its 'semantics'. The sample program was simple so there comes my 'awe' with you explaining the details about declaring variables, etc.

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

      Thank you
      Keep learning :)

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

    This was very useful! I like that you explain things in a very easy to understand way, yet not slow like some other tutorials!

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

    I've been learning C and C++ for a while and I realized pyhon is much much easier than C.BTW love your tutorial videos.

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

      Keep learning :)

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

      Python is the easiest one in all high level language I am in 7th standard and i know python😁

  • @Emily-sx2io
    @Emily-sx2io 2 ปีที่แล้ว +1

    I know this comment is very late but i was really struggling on my homework and you have answered my python dreams, thank you so much for explaining it so well and precise. Just wanted to thank you for making the best python video out there 👍

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

      glad my video helped you :)

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

    You are legend sir ❤️. Very well explained

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

    Thank you so much Sir 😊🙏I was getting error many times while solving But, finally This video came to help me as a suggestion... ⚡

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

    nice tutorial for python to implement a simple calculator

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

    You did a very good job explaining the calculators.

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

    Thank you so much for this tutorial. This helped me with an assignment that I need help on with making a calculator using python.

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

      You're very welcome!

    • @sumanpujari797
      @sumanpujari797 8 หลายเดือนก่อน

      do u you have soft copy ?

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

    I remember using this tutorial when I first started python

    • @dedicategrinder88
      @dedicategrinder88 7 หลายเดือนก่อน +1

      1 yr ago
      Yea I did the code 4th July 2022
      Tomorrow is gcse Spanish speaking
      Hopefully went well 😅

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

    Thx u so much Ur a legend. U helped me to do my project if not u I’m done

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

    You helped a lot to make my presentation😂 thanks

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

    Thank you, I learn so much from this video :)

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

    Thanks you very much sir!❤️👍🙏

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

    Well explained bro thank you😍

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

    great explainetion

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

    i like ur tutorials man u are the best :)

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

    You are a LEGEND 🔥

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

    Bro for looping the program which key u have use at the end to put all the program inside the loop

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

    11:01 how did you move the code lil back?

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

    your very good thanks

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

    print("Select The operation by typing the number next to the operation")
    print("1.Addittion")
    print("2.Subtraction")
    print("3.Multiplication")
    print("4.division")
    print("5.Exponent")
    print("6.Reminder")
    operation=input("Hey what operation do you wanna do today ")
    if operation == "1":
    a=float(input("First Number "))
    b=float(input("Second Number "))
    plus=a+b
    print('sum =',+plus)
    elif operation == "2":
    a=float(input("First Number "))
    b=float(input("Second Number "))
    plus=a-b
    print('sum =',+plus)
    elif operation == "3":
    a=float(input("First Number "))
    b=float(input("Second Number "))
    plus=a*b
    print('sum =',+plus)
    elif operation == "4":
    a=float(input("First Number "))
    b=float(input("Second Number "))
    plus=a/b
    print('sum =',+plus)
    elif operation == "5":
    a=float(input("First Number "))
    b=float(input("Second Number "))
    plus=a**b
    print('sum =',+plus)
    elif operation == "6":
    a=float(input("First Number "))
    b=float(input("Second Number "))
    plus=a//b
    print('sum =',+plus)
    else:
    print("invalid Entry")
    print("have a nice day")
    this was my code

  • @RohitDhurve-b3i
    @RohitDhurve-b3i 19 วันที่ผ่านมา +1

    thanks man keep it up

    • @LearningLad
      @LearningLad  18 วันที่ผ่านมา +1

      Appreciate it!

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

    What about UI... how wd that be designed and the this programming linked to it

  • @Ten.Sheepa
    @Ten.Sheepa 3 ปีที่แล้ว +1

    what about making a calculator that reads the operator the user inputs instead of asking them?

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

    What if we want to do more than just two numbers, how would we do that?

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

    Please make a video on calculator using tkinter tools 🛠 🧰 and include buttons

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

    How did he shift them to the right after putting while

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

    Thank you

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

    You explained it well but it's not easy for a person who just started

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

    Well explained,I code this same sample but it keep on asking input num1 after the input,I run the code it displayed error 😫😫

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

    what if i enter wrong number ex. 8 the result would be error but i want it to make me try again without refreshing it what should i add with it?

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

    and where do u typing code on?

  • @none-bn8sr
    @none-bn8sr ปีที่แล้ว +1

    can you do exponents?

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

      yes you can :)

    • @none-bn8sr
      @none-bn8sr ปีที่แล้ว

      @@LearningLad I did exponents

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

    what Python software you use, man?

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

    Sir I want another option to enter another choice at run time instead of running the program again again please give me solution

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

    can you keep a key board cam so we can see how and what your typing. Please try it

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

    i get a syntax error with this. elif choice == "2":

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

    Whats that software

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

    Thanks

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

    I wrote the exam same program in Atom on MAC, but it is only returning Invalid choice and skipping the rest of the code

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

    Hey please talk about whitehatjr

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

      Nothing much to talk.
      People should think before purchasing :)

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

    please can you explain the functions in c?

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

    Oh my god It work s I tried to perform calculations with 0 and it said wrong BTW there ae so typos in the code

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

    Thax

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

    its showing syntax error here print(num1, "+", num2 "=", (num1+num2))

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

      pls.. help me. I have made the same calculator in python but now i want to make it via VS code

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

      After num2 add a comma

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

      @@LearningLad yeah thanks i asked by It teacher and corrected it
      and anyways thank u
      by this video i was successfully be to make temperature calculator also

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

    Can I ask po? What IDE are you using po? Hehe

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

    Hello multiplication spelling is wrong

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

    I'm getting print(num1, "+", num2, "=", (num1+num2))
    Name Error : name 'num1' is not defined

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

    Guys theirs is a syntax error of the spelling of multiplication