Python Project for beginners #6| Calculator -Complete Code | Python for Beginners

  Рет қаралды 39,717

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

In this video we will make a Calculator Project in Python using functions, Dictionaries and recursion concept.
Best Python Tutorials for Beginners: • Python - Basic to Advance
*********************************************
Connect & Contact Me:
Jenny's Lectures HINDI: / @jennyslectureshindi
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*******************************************
More Playlists:
Programming in C Tutorials: • Programming in C
Printing Pattern in C: • Printing Pattern Progr...
C++ Tutorials for beginners: • Lec 1: How to Install ...
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems tutorials: // • Operating Systems
DBMS Tutorials: • DBMS (Database Managem...
#projects #pythonprojects #python #pythonprogramming #jennyslectures

Пікірлер: 77
@nicksonkiprotich5070
@nicksonkiprotich5070 Жыл бұрын
Hey Jenny, thank you so much for these lectures. You really are a blessing. One ask though, could you please dedicate a lecture to teach everything on JSON in relation to python?
@BnFh-hh1ht
@BnFh-hh1ht 5 ай бұрын
Thank you so much! I have followed you do this project and it's successful.
@waqarrajpt7031
@waqarrajpt7031 Жыл бұрын
Great ma'am Thanks so much
@Technoacademy969
@Technoacademy969 Жыл бұрын
Thank you when i was yuniversity Your vidio helped me thank you sister
@AnonymousCoder7
@AnonymousCoder7 Жыл бұрын
So I was missing my newspaper lately . Good that I found it here ! 😋😋
@surenderp5904
@surenderp5904 Жыл бұрын
Thank you mam❤️
@devSackey
@devSackey 8 ай бұрын
import os def addition(a, b): result = a + b return result def multiplication(a, b): result = a * b return result def division(a, b): result = a / b return result def subtraction(a, b): result = a - b return result def calculator(): num1 = int(input("Enter first number: ")) print("+ - * / ") continue_program = True while continue_program: operator = input("Pick an operation: ") num2 = int(input("Enter next number: ")) if operator == "+": output = addition(num1, num2) print(f"{num1} + {num2} = {output}") elif operator == "*": output = multiplication(num1, num2) print(f"{num1} * {num2} = {output}") elif operator == "/": output = division(num1, num2) print(f"{num1} / {num2} = {output}") elif operator == "-": output = subtraction(num1, num2) print(f"{num1} - {num2} = {output}") else: print("Invalid operator") play_again = input(f"Enter 'y' to continue calculation with {output} or 'n' to start a new calculation or 'x' to exit ").lower() if play_again == 'y': num1 = output elif play_again == 'n': continue_program = False os.system('cls') calculator() else: continue_program = False print("Bye") calculator()
@sinisteryt459
@sinisteryt459 Жыл бұрын
Thank you mam
@sudhakarjalla9067
@sudhakarjalla9067 Жыл бұрын
@Yourcodingfriendsaruk
@Yourcodingfriendsaruk 6 ай бұрын
thanks you mam
@ShubhamGaming-wq9om
@ShubhamGaming-wq9om Жыл бұрын
Love you mam❤😘😘
@marvelousncube
@marvelousncube Жыл бұрын
I did this using object oriented programming ,please teach us object oriented programming mam😊
@JennyslecturesCSIT
@JennyslecturesCSIT Жыл бұрын
Will start soon
@user-yx8ye2yf6b
@user-yx8ye2yf6b Жыл бұрын
Mam can you create a what's app group or a doubt class for Python I have a few doubts
@MZubair-ql4rn
@MZubair-ql4rn 8 ай бұрын
😝😝
@anurag__yadav940
@anurag__yadav940 Жыл бұрын
Nice goggles 😚
@potrakandimanojkumar2693
@potrakandimanojkumar2693 Жыл бұрын
𝑳𝒐𝒗𝒆 𝒇𝒓𝒐𝒎 𝒐𝒅𝒊𝒔𝒉𝒂...❤
@dikshateware03
@dikshateware03 7 күн бұрын
how you make the code intended by selecting it? what key you use?
@tamannaist
@tamannaist Жыл бұрын
Ma'am please complete c++series oops concept programming
@pullaashlesha8136
@pullaashlesha8136 Жыл бұрын
Mam plz continue oops concept core and advanced python mam plz plz mam plz do that if you do that we r really thankfully and praying for you mam plzmam do core python videos
@pullaashlesha8136
@pullaashlesha8136 Жыл бұрын
Oops concept in python plz mam
@gumanmahar6414
@gumanmahar6414 Жыл бұрын
Ma'am Good Evening Please make an Excel Course Advance Level.
@yogichappa3347
@yogichappa3347 Жыл бұрын
I love your voice mam❤❤😊
@flynneugene2675
@flynneugene2675 Жыл бұрын
Voice chodo Gyan lelo
@editor_soul_005
@editor_soul_005 Жыл бұрын
​@@flynneugene2675ha sahi bat he bhai
@fitnessfusion104
@fitnessfusion104 Жыл бұрын
maam how many vidoes are left in this course
@artist_r_21
@artist_r_21 Жыл бұрын
Can you teach VEX .
@pythonassignment
@pythonassignment Жыл бұрын
2nd view
@Vinaykkkk
@Vinaykkkk Жыл бұрын
mam,what is the short cut key to move the block of code into indentation?
@danielmukenya3317
@danielmukenya3317 9 ай бұрын
tab key on your keyboard
@Aaloochaap
@Aaloochaap Жыл бұрын
Ma'am if a student has completed his BCCA is he eligible for NIMCET Exam?? Help🗿🙏
@zolarpromaxcomedy3066
@zolarpromaxcomedy3066 Жыл бұрын
How can I contact you for classes
@krishnateja6670
@krishnateja6670 Жыл бұрын
mam when will this course will end
@pkr1kajdjasdljskjdjsadjlaskdja
@pkr1kajdjasdljskjdjsadjlaskdja 9 ай бұрын
#without use function without of switch case make calculator x = "t" while x == "t": c = int(input("enter first name")) i = True while i: operation = input("what you want to operation") b = int(input("enter second name")) if operation == "+": print(c, "+", b) c = c + b print("=", c) elif operation == "-": print(c, "-", b) c = c - b print("=", c) elif operation == "/": print(c, "/", b) c = c / b print("=", c) elif operation == "*": print(c, "*", b) c = c * b print("=", c) elif operation == "%": print(c, "%", b) c = c % b print("=", c) else: print("invalid input") x = input("y for continue or n for not continue") if x == "y": i = True else: break x = input(" more calculate or not if calculate than type t ") ###### 2nd method # use function make calculator def sum(a, b): return a + b def dif(a, b): return a - b def multi(a, b): return a * b def divide(a, b): return a / b def modulo(a, b): return a % b x = "t" while x == "t": c = int(input("enter first name")) i = True while i: operation = input("what you want to operation") b = int(input("enter second name")) if operation == "+": print(c, "+", b) c = sum(c, b) print("=", c) elif operation == "-": print(c, "-", b) c = dif(c, b) print("=", c) elif operation == "/": print(c, "/", b) c = divide(c, b) print("=", c) elif operation == "*": print(c, "*", b) c = multi(c, b) print("=", c) elif operation == "%": print(c, "%", b) c = modulo(c, b) print("=", c) else: print("invalid input") x = input("y for continue or n for not continue") if x == "y": i = True else: break x = input(" more calculate or not if calculate than type t ")
@prashanthrao519
@prashanthrao519 Жыл бұрын
provide the notes of this project on description link
@Whiro__08
@Whiro__08 Жыл бұрын
Lob you mam🥰😍😘
@rohanbhalerao8066
@rohanbhalerao8066 Жыл бұрын
Lecture pe dhyan do madam par nahi 😂
@rohanbhalerao8066
@rohanbhalerao8066 Жыл бұрын
😈
@Whiro__08
@Whiro__08 Жыл бұрын
@@rohanbhalerao8066 thum bhi padai mai Dhyan dhey mere comment pe nai🥲
@Whiro__08
@Whiro__08 Жыл бұрын
Just for fun bro
@rohanbhalerao8066
@rohanbhalerao8066 Жыл бұрын
@@Whiro__08 tum bhi bro
@sharuk98ala
@sharuk98ala Жыл бұрын
Babe! You are gorgeous ❤
@anger9589
@anger9589 Жыл бұрын
First view ❤
@sharanabasavasharana2810
@sharanabasavasharana2810 Жыл бұрын
Next video
@mgjdb
@mgjdb Жыл бұрын
Nice t shirt mam😂😂
@mrsbk03
@mrsbk03 Жыл бұрын
What if it's a white whole ? That's emitting the energy from its Black hole
@ThatAsianGuyExplains
@ThatAsianGuyExplains Жыл бұрын
Not possible
@DARK_RYZEN
@DARK_RYZEN 7 ай бұрын
condition = True while condition: A = int(input("Enter the first number: ")) print("+ - % *") operation = input("Enter an operation symbol: ") B = int(input("Enter the second number: ")) if operation == "+": C = A + B print(C) elif operation == "-": C = A - B print(C) elif operation == "*": C = A * B print(C) elif operation == "%": C = A % B print(C) ask = input(f"Do you want to continue with {C}? 'y' to continue, 'no' to start a new calculation, or 'x' to exit: ") if ask == "y": D = int(input("Enter a third number: ")) if operation == "+": C = C + D print(C) elif operation == "-": C = C - D print(C) elif operation == "*": C = C * D print(C) elif operation == "%": C = C % D print(C) elif ask == "no": condition = True elif ask == "x": break
@CodingBRO
@CodingBRO Жыл бұрын
num1=int(input('Enter the first no. : ')) pick=input(' + - * / Pick a operation: ') num2=int(input('Enter the second no.: ')) match pick: case '+':ans=num1+num2 case '-':ans=num1-num2 case '*':ans=num1*num2 case '/':ans=num1/num2 case _:print("invalid operator") print(ans) response=input("Enter 'y' to continue with "+str(ans)+ " or 'n' to start new calculation or 'x' to exit:") while True: while response=='y': pick=input(' + - * / Pick a operation: ') num2=int(input('Enter the second no.: ')) match pick: case '+':ans=ans+num2 case '-':ans=ans-num2 case '*':ans=ans*num2 case '/':ans=ans/num2 case _:print("invalid operator") print(ans) response=input("Enter 'y' to continue with "+str(ans)+ " or 'n' to start new calculation or 'x' to exit:") while response=='n': num1=int(input('Enter the first no. : ')) pick=input(' + - * / Pick a operation: ') num2=int(input('Enter the second no.: ')) match pick: case '+':ans=num1+num2 case '-':ans=num1-num2 case '*':ans=num1*num2 case '/':ans=num1/num2 case _:print("invalid operator") print(ans) response=input("Enter 'y' to continue with "+str(ans)+ " or 'n' to start new calculation or 'x' to exit:") if response=='x': print('Thanks') break "mam how is this. plz correct me if i am wrong" thanks for videos 😊😊😊
@SONUkumar-eg4xo
@SONUkumar-eg4xo Жыл бұрын
Hii
@deepaksingh7287
@deepaksingh7287 Жыл бұрын
don't know why, i am interested to read some news today 😅😅
@umangupadhyay4335
@umangupadhyay4335 Жыл бұрын
Mam aapse sadi krne ke lie kitni permonth salary chaiye ?
@indrarajmodi1232
@indrarajmodi1232 Жыл бұрын
Ma'am aap Hindi me bhi btaya karo n. C me Data structure ek bar Hindi me video bna do n please. English me samjh nhi aata hai. Please 🙏🙏🙏
@indrarajmodi1232
@indrarajmodi1232 Жыл бұрын
Exam hai and kuchh samjh nhi aaya hai so please please 🙏🙏🙏🙏
@gaysergyalpo8549
@gaysergyalpo8549 Жыл бұрын
Hi I am from Bhutan 🇧🇹🇧🇹🇧🇹🇧🇹 I had finished Python basics What should i learn next. Please respond me🙏🙏🙏🙏🤞
@marvelousncube
@marvelousncube Жыл бұрын
Go deep in object oriented programming ,file handling, Django framework , build a massive project that will you all the basic things you've learnt
@akumallalokesh3423
@akumallalokesh3423 Жыл бұрын
mama java course
@SonuKumar-gt6wq
@SonuKumar-gt6wq Жыл бұрын
Hallo mam
@ruthpersiyal
@ruthpersiyal Жыл бұрын
Mam plz you tell tamil mam i am not understanding mam
@PrinceTewatia001
@PrinceTewatia001 5 ай бұрын
Aapko dekhe ya pde Newspaper lg rhe ho
@unknown__virus
@unknown__virus Жыл бұрын
Apki koi Sister he kya ? 😊😊
@bavigaddachaithureddy2341
@bavigaddachaithureddy2341 Жыл бұрын
Mam r u married
@parthasaradireddy9370
@parthasaradireddy9370 Жыл бұрын
HELLO MAM ARE U MARRIED!!!
@samagrajaiswal1773
@samagrajaiswal1773 Жыл бұрын
Nhai bhai esa hoga mai mar jaonga
@bommanaakash5900
@bommanaakash5900 Жыл бұрын
Ma'am has a fiancee
@BeastART21
@BeastART21 Жыл бұрын
Haan tere baap ke saath
@varaprasadbandaru3916
@varaprasadbandaru3916 Жыл бұрын
​@@bommanaakash5900 still unmarried
@nitinpandey4925
@nitinpandey4925 Жыл бұрын
Bruh maam married h
@kushalpha4442
@kushalpha4442 Жыл бұрын
Thankyou mam❤️
local and Global Scope in Python | Python Tutorials for Beginners #lec78
14:34
Jenny's Lectures CS IT
Рет қаралды 38 М.
File Handling in Python | Python Tutorials for Beginners #lec95
45:32
Jenny's Lectures CS IT
Рет қаралды 84 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 10 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 54 МЛН
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 108 М.
Simple GUI Calculator in Python
22:51
NeuralNine
Рет қаралды 256 М.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 631 М.
Modules in Python | Python Tutorials for Beginners #lec97
25:28
Jenny's Lectures CS IT
Рет қаралды 66 М.
for Loop with Lists in Python
8:35
Neso Academy
Рет қаралды 18 М.
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 134 М.
For Loop in Python | Python Tutorials for Beginners #lec42
19:42
Jenny's Lectures CS IT
Рет қаралды 143 М.
Hierarchical Inheritance in Python | Python Tutorials for Beginners #lec92
17:08
Jenny's Lectures CS IT
Рет қаралды 27 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 10 МЛН