How to Create a Simple Calculator using Python Programming Language

  Рет қаралды 75,534

LearningLad

LearningLad

Күн бұрын

In this video tutorial you will learn How to create a simple Calculator Program using Python Programming Language.
This video is well suited for the beginners.
The Calculator programming created here will first display the menu option to the user.
user can select the operation that he wants to perform.
( Addition, Subtraction, Multiplication, Division)
Then we take two numbers as input from the user
and then we display the result.
Our Website
www.LearningLad.com
Social Media
Facebook / learninglad
Twitter / learningladedu
Instagram / learningladofficial

Пікірлер: 81
@jameswatson8907
@jameswatson8907 2 жыл бұрын
I wish everyone could do coding tutorials like you, keep it up man
@LearningLad
@LearningLad 2 жыл бұрын
Thank you 😊
@jameswatson8907
@jameswatson8907 2 жыл бұрын
@@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 Жыл бұрын
This was very useful! I like that you explain things in a very easy to understand way, yet not slow like some other tutorials!
@marifer6918
@marifer6918 3 жыл бұрын
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 жыл бұрын
Thank you Keep learning :)
@vishalrathore8553
@vishalrathore8553 2 жыл бұрын
You are legend sir ❤️. Very well explained
@dedicategrinder88
@dedicategrinder88 Жыл бұрын
I remember using this tutorial when I first started python
@dedicategrinder88
@dedicategrinder88 Ай бұрын
1 yr ago Yea I did the code 4th July 2022 Tomorrow is gcse Spanish speaking Hopefully went well 😅
@aniketswarnakar6609
@aniketswarnakar6609 3 жыл бұрын
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 жыл бұрын
Keep learning :)
@pratibha8216
@pratibha8216 2 жыл бұрын
Python is the easiest one in all high level language I am in 7th standard and i know python😁
@Emily-sx2io
@Emily-sx2io Жыл бұрын
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 Жыл бұрын
glad my video helped you :)
@roshangowda1044
@roshangowda1044 Жыл бұрын
Bro for looping the program which key u have use at the end to put all the program inside the loop
@hope_ytt
@hope_ytt 2 жыл бұрын
You are a LEGEND 🔥
@durveshmahajan8097
@durveshmahajan8097 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... ⚡
@LearningLad
@LearningLad 2 жыл бұрын
Pleasure
@bibekmishra2019
@bibekmishra2019 2 жыл бұрын
nice tutorial for python to implement a simple calculator
@LearningLad
@LearningLad 2 жыл бұрын
thanks
@delawarelicker6101
@delawarelicker6101 2 жыл бұрын
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 2 жыл бұрын
You're very welcome!
@sumanpujari797
@sumanpujari797 2 ай бұрын
do u you have soft copy ?
@_digi_arts3533
@_digi_arts3533 3 жыл бұрын
Thanks you very much sir!❤️👍🙏
@LearningLad
@LearningLad 3 жыл бұрын
Most welcome
@ambrosethomas1536
@ambrosethomas1536 2 жыл бұрын
You did a very good job explaining the calculators.
@LearningLad
@LearningLad 2 жыл бұрын
thanks
@godzilla8480
@godzilla8480 7 ай бұрын
Thx u so much Ur a legend. U helped me to do my project if not u I’m done
@LearningLad
@LearningLad 7 ай бұрын
Glad I could help
@shawonzaman8409
@shawonzaman8409 Жыл бұрын
great explainetion
@chevarielammar8471
@chevarielammar8471 2 жыл бұрын
Thank you, I learn so much from this video :)
@LearningLad
@LearningLad 2 жыл бұрын
You are so welcome!
@Ten.Sheepa
@Ten.Sheepa 2 жыл бұрын
what about making a calculator that reads the operator the user inputs instead of asking them?
@pratibha8216
@pratibha8216 2 жыл бұрын
You helped a lot to make my presentation😂 thanks
@LearningLad
@LearningLad 2 жыл бұрын
Glad I could help!
@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?
@kamranejazchatha
@kamranejazchatha Жыл бұрын
What about UI... how wd that be designed and the this programming linked to it
@nate3114
@nate3114 2 жыл бұрын
How did he shift them to the right after putting while
@nadiaj2970
@nadiaj2970 2 жыл бұрын
What if we want to do more than just two numbers, how would we do that?
@whatsnext_950
@whatsnext_950 2 жыл бұрын
i like ur tutorials man u are the best :)
@LearningLad
@LearningLad 2 жыл бұрын
Glad you like them!
@DifferentThinker
@DifferentThinker Жыл бұрын
Well explained bro thank you😍
@LearningLad
@LearningLad Жыл бұрын
Welcome 😊
@sahashellarawa6561
@sahashellarawa6561 2 жыл бұрын
your very good thanks
@LearningLad
@LearningLad 2 жыл бұрын
most welcome :)
@yusufkhusanovic1266
@yusufkhusanovic1266 3 жыл бұрын
please can you explain the functions in c?
@romeyanttal3524
@romeyanttal3524 2 жыл бұрын
Thax
@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 жыл бұрын
i get a syntax error with this. elif choice == "2":
@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
@lucainnit.
@lucainnit. Жыл бұрын
what Python software you use, man?
@jyothinayak8587
@jyothinayak8587 Жыл бұрын
Thank you
@LearningLad
@LearningLad Жыл бұрын
most welcome :)
@UcheTechs
@UcheTechs 2 жыл бұрын
Thanks
@LearningLad
@LearningLad 2 жыл бұрын
Pleasure
@nitabhoi3608
@nitabhoi3608 Жыл бұрын
Sir I want another option to enter another choice at run time instead of running the program again again please give me solution
@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 😫😫
@manfromsl
@manfromsl 2 жыл бұрын
Whats that software
@roshanrajasekaran3098
@roshanrajasekaran3098 Жыл бұрын
11:01 how did you move the code lil back?
@roshanrajasekaran3098
@roshanrajasekaran3098 Жыл бұрын
ctrl + ]
@anushag1716
@anushag1716 3 жыл бұрын
Please make a video on calculator using tkinter tools 🛠 🧰 and include buttons
@LearningLad
@LearningLad 3 жыл бұрын
Will ty :)
@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
@sonikarthik1918
@sonikarthik1918 2 жыл бұрын
I'm getting print(num1, "+", num2, "=", (num1+num2)) Name Error : name 'num1' is not defined
@v4mp1r3gurl6
@v4mp1r3gurl6 Жыл бұрын
and where do u typing code on?
@LearningLad
@LearningLad Жыл бұрын
visual studio code
@yassin5904
@yassin5904 Жыл бұрын
You explained it well but it's not easy for a person who just started
@LearningLad
@LearningLad Жыл бұрын
thank you :)
@OG_CK2018
@OG_CK2018 3 жыл бұрын
Hey please talk about whitehatjr
@LearningLad
@LearningLad 3 жыл бұрын
Nothing much to talk. People should think before purchasing :)
@Rxtfoxy
@Rxtfoxy Жыл бұрын
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
@earthmix_pebaca_brightwin4076
@earthmix_pebaca_brightwin4076 2 жыл бұрын
Can I ask po? What IDE are you using po? Hehe
@digitalartzz4301
@digitalartzz4301 2 жыл бұрын
its showing syntax error here print(num1, "+", num2 "=", (num1+num2))
@digitalartzz4301
@digitalartzz4301 2 жыл бұрын
pls.. help me. I have made the same calculator in python but now i want to make it via VS code
@LearningLad
@LearningLad 2 жыл бұрын
After num2 add a comma
@digitalartzz4301
@digitalartzz4301 2 жыл бұрын
@@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
@none-bn8sr
@none-bn8sr Жыл бұрын
can you do exponents?
@LearningLad
@LearningLad Жыл бұрын
yes you can :)
@none-bn8sr
@none-bn8sr Жыл бұрын
@@LearningLad I did exponents
@orbit5859
@orbit5859 3 жыл бұрын
Hello multiplication spelling is wrong
@bsjha2552
@bsjha2552 Жыл бұрын
Guys theirs is a syntax error of the spelling of multiplication
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 3 МЛН
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 351 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 596 М.
Eccentric clown jack #short #angel #clown
00:33
Super Beauty team
Рет қаралды 27 МЛН
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 12 МЛН
Python Program #30 - Make a Simple Calculator in Python
10:19
Programming For Beginners
Рет қаралды 8 М.
Python Program to Find the Factorial of a Number Tutorial
12:24
Example Program
Рет қаралды 41 М.
How to Create a Simple Calculator Program using Python ? Video Tutorial
19:53
Simple GUI Calculator in Python
22:51
NeuralNine
Рет қаралды 238 М.
Python Tutorial for Absolute Beginners #1 - What Are Variables?
24:38
While loops in Python are easy ♾️
6:58
Bro Code
Рет қаралды 304 М.
Learn Python With This ONE Project!
55:04
Tech With Tim
Рет қаралды 1,6 МЛН
Building a better Calculator | Python | Tutorial 18
7:00
Giraffe Academy
Рет қаралды 71 М.
5 Mini Python Projects - For Beginners
1:41:08
Tech With Tim
Рет қаралды 2,7 МЛН
Python calculator program 🧮
3:55
Bro Code
Рет қаралды 123 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 596 М.