How to Create a Simple Calculator using Python Programming Language

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 81

  • @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.

  • @jameswatson8907
    @jameswatson8907 2 года назад +10

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

    • @LearningLad
      @LearningLad  2 года назад +1

      Thank you 😊

    • @jameswatson8907
      @jameswatson8907 2 года назад +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.

  • @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 2 года назад +2

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

  • @Emily-sx2io
    @Emily-sx2io Год назад +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 👍

  • @dedicategrinder88
    @dedicategrinder88 Год назад +2

    I remember using this tutorial when I first started python

    • @dedicategrinder88
      @dedicategrinder88 4 месяца назад +1

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

  • @bibekmishra2019
    @bibekmishra2019 2 года назад +2

    nice tutorial for python to implement a simple calculator

  • @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... ⚡

  • @vishalrathore8553
    @vishalrathore8553 3 года назад +3

    You are legend sir ❤️. Very well explained

  • @pratibha8216
    @pratibha8216 2 года назад +5

    You helped a lot to make my presentation😂 thanks

  • @godzilla8480
    @godzilla8480 10 месяцев назад +1

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

  • @DelawareLicker
    @DelawareLicker 2 года назад +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.

  • @chevarielammar8471
    @chevarielammar8471 2 года назад +1

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

  • @_digi_arts3533
    @_digi_arts3533 3 года назад +4

    Thanks you very much sir!❤️👍🙏

  • @ambrosethomas1536
    @ambrosethomas1536 2 года назад +1

    You did a very good job explaining the calculators.

  • @nate3114
    @nate3114 2 года назад +1

    How did he shift them to the right after putting while

  • @nadiaj2970
    @nadiaj2970 2 года назад +1

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

  • @nkz1311
    @nkz1311 2 года назад +1

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

  • @DifferentThinker
    @DifferentThinker Год назад +1

    Well explained bro thank you😍

  • @whatsnext_950
    @whatsnext_950 2 года назад +1

    i like ur tutorials man u are the best :)

  • @Ten.Sheepa
    @Ten.Sheepa 2 года назад +1

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

  • @hope_ytt
    @hope_ytt 2 года назад

    You are a LEGEND 🔥

  • @sahashellarawa6561
    @sahashellarawa6561 2 года назад +1

    your very good thanks

  • @shawonzaman8409
    @shawonzaman8409 2 года назад

    great explainetion

  • @roshangowda1044
    @roshangowda1044 2 года назад

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

  • @paulfelix8415
    @paulfelix8415 Год назад

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

  • @jyothinayak8587
    @jyothinayak8587 Год назад +1

    Thank you

  • @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

  • @kingsssss3635
    @kingsssss3635 2 года назад

    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?

  • @UcheTechs
    @UcheTechs 2 года назад +1

    Thanks

  • @gabagoooooooool
    @gabagoooooooool 2 года назад

    what Python software you use, man?

  • @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

  • @anushag1716
    @anushag1716 3 года назад +2

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

  • @kamranejazchatha
    @kamranejazchatha 2 года назад

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

  • @orbit5859
    @orbit5859 3 года назад +2

    Hello multiplication spelling is wrong

  • @rokkamcr
    @rokkamcr 3 года назад

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

  • @sonikarthik1918
    @sonikarthik1918 2 года назад

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

  • @v4mp1r3gurl6
    @v4mp1r3gurl6 2 года назад +1

    and where do u typing code on?

  • @yassin5904
    @yassin5904 2 года назад

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

  • @manfromsl
    @manfromsl 2 года назад

    Whats that software

  • @roshanrajasekaran3098
    @roshanrajasekaran3098 2 года назад

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

  • @yusufkhusanovic1266
    @yusufkhusanovic1266 3 года назад

    please can you explain the functions in c?

  • @none-bn8sr
    @none-bn8sr Год назад +1

    can you do exponents?

  • @OG_CK2018
    @OG_CK2018 3 года назад +2

    Hey please talk about whitehatjr

    • @LearningLad
      @LearningLad  3 года назад +1

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

  • @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 2 года назад

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

  • @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

  • @romeyanttal3524
    @romeyanttal3524 2 года назад

    Thax

  • @bsjha2552
    @bsjha2552 Год назад

    Guys theirs is a syntax error of the spelling of multiplication

  • @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