Exercise 1: Calculator using Python | Python Tutorial - Day #7

preview_player
Показать описание
Python is one of the most demanded programming languages in the job market. Surprisingly, it is equally easy to learn and master Python. This python tutorial for absolute beginners in Hindi series will focus on teaching you python concepts from the ground up.

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

a=int(input("Type the First Number"))
b=int(input("Type the Second Number"))
print("The Sum of Two Numbers is : ", a+b)
print("The Difference of Two Numbers is: ", a-b)
print("The Product of Two Numbers is : ", a*b)
print("The Division of Two Numbers is : ", a/b)

print("Love you Harry Bhai for Your Efforts")

absolutepatil
Автор

harry bhai apko andaza nahi hoga ki aap kitne logo ki zindagi ko impact kar rahe ho dhanyawad is playlist ke liye program run ho gya mera and am a beginner

kashishgautam
Автор

Wow Bhai bahut aasan bhasa me samjha rahe ho aap . Mai bahut easy samjh jata hu. Mai apne life me Aisha video kabhi nahi dekha . Thanks Bhai . God bless you

amitkrmandal
Автор

Done and thank you very much, sir. I am feeling very happy after doing it because it's the start of coding. You are really helping a lot of people.

asghani
Автор

sir aap ki python ki har videos dekh chuka hun pr jitni baar dekhun ek alg hi mja aata h padhne me gajab padhate ho sir :)

deekshantkaushik
Автор

Harry vai this is the best course on python on entire youtube platform. I am doing this 100 days of python and sigma web-development course together. Love you harry vai ❤❤

amit-jxlh
Автор

bhi maza aya gya yar apka . teaching style dekh kar, Thank you for sharing your knowledge.

pushkarsingh
Автор

# I do coding in my "vs code", so i am sharing this code in your comment section, i hope you will like it.
# This is exercise of day 1
# We have to make a calculator for basic calculations

print("Enter the value of first number")
a = int(input())
print("Enter the value of Second number")
b = int(input())

print("Enter the operators for calculation")
d = str(input())

if (d == "+"):
print("The addition of first and second number is ", a+b)
elif (d == "-"):
print("The subtraction of first and second number is ", a-b)
elif (d == "*"):
print("The multiplication of first and second number is ", a*b)
elif (d == "/"):
print("The division of first and second number is ", a/b)
else:
print("You have enter wrong operator, please renter coorect operator")
print("you can only enter (+, -, *, /) only these operators")

ansharora
Автор

print("Present Sir")
a = int(input("enter first number\n"))
b = int(input("enter second number\n"))
c = int(input(
"Enter 1 for addition\nEnter 2 for subtration\nEnter 3 for multiplication\nEnter 4 for division\nEnter 5 for exponential\nEnter 6 for Floor division\n"))
if c == 1:
print(a + b)
elif c == 2:
print(a - b)
elif c == 3:
print(a * b)
elif c == 4:
print(a / b)
elif c == 5:
print(a - b)
elif c == 6:
print(a // b)
else:
print("wrong choice")

badboynakul
Автор

i am in 8th class and you are the best teacher ever you made python an easy to learn language
thanku for this course for free

bhavinsundriyal
Автор

# 7> MAKING A SIMPLE CALCULATOR
x=int(input("Enter your 1st number :"))
y=int(input("Enter your 2nd number :"))
alpha = (x+y, x-y, x*y, x/y, x//y, x%y, x**y)
print(alpha)

shobhitupadhyay
Автор

Harry Bhai Please offer the certification for this course, & make The Certification criteria very Tough Which makes it challenging and more fun 🔥🔥, Enjoying The Course Harry Bhai Thanks ❤️

Kuch_Bhi-lets_explore_it
Автор

present sir ji, thank you much soo much bhaiya ji aap bohot achhe se sikha rhe ho vo bhi humari language mien thank you sooo much itne effort dene k liye or easy banane k liye humari learning ko

hemhnys
Автор

def calc(a, b):
return (a+b, a-b, a*b, a/b, a%b)
a=int(input('enter the a value'))
b=int(input('enter the value b'))
c=calc(a, b)
print (c)

vidyamahendrakar
Автор

a=int(input("Enter first Value : "))
b=int(input("Enter second Value: "))
print ("Addition =", a+b)
print ("Subtraction =", a-b)
print ("Multiplication =", a*b)
print ("Division =", a/b)
print ("Modulus =", a%b)
print ("Exponential =", a**b)
print ("Floor division =", a//b)

xqhgrhh
Автор

Day 2 of #100DaysOfCode. In This Video of Day7 of this course, I learned about arithmetic operators in Python, which are crucial for calculator operations. These operators include addition, subtraction, multiplication, division, modulus, and floor division. By using variables and arithmetic operators, I created a program that performs basic calculations on two numbers and displays the results in a readable format.
Thank You Harry Bhaiya.

debasishbesra
Автор

Exercise Done 👍
Jitna Sikaya Tha Utne Hi Use Karke
Because I had Just Began Programming 👍

RaunakBisht-pv
Автор

Assalam o alaikum sir. I am from Pakistan. You are my inspiration. I am learning code through your lectures and notes. I am beginner in coding and Python is my first language. I have publish assignment of calculator.

abidbaloch
Автор

Salute For U Sir U Are Inspiration For All Of The Students Allah Bluess You

QuraanInsight-rg
Автор

Parameshwar Hazra I am present sir. Wo baat mujhe kafi achchi lagi ki khud ko sikhana hai, really inspiring!

parameshwarhazra