filmov
tv
Write a Program to Perform Different Arithmetic Operations on Numbers in Python

Показать описание
Hello Programmers, Welcome to my channel.
In this video you will learn about how to Write a Program to Perform Different Arithmetic Operations on Numbers in Python
Python Scripts
======================
Python Functions Solved
==========================
Python Programs Solved
============================
Code
=============================
a = int(input("Enter First Number : "))
b = int(input("Enter Second Number : "))
print(f"Addition of {a} + {b} = {a+b}")
print(f"Subtraction of {a} - {b} = {a-b}")
print(f"Product of {a} * {b} = {a*b}")
print(f"Exponential of {a} ^ {b} = {a**b}")
try:
print(f"Division of {a} / {b} = {a/b}")
print(f"True Division of {a} // {b} = {a//b}")
except ZeroDivisionError:
print("Zero Division is Not Possible")
Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners
In this video you will learn about how to Write a Program to Perform Different Arithmetic Operations on Numbers in Python
Python Scripts
======================
Python Functions Solved
==========================
Python Programs Solved
============================
Code
=============================
a = int(input("Enter First Number : "))
b = int(input("Enter Second Number : "))
print(f"Addition of {a} + {b} = {a+b}")
print(f"Subtraction of {a} - {b} = {a-b}")
print(f"Product of {a} * {b} = {a*b}")
print(f"Exponential of {a} ^ {b} = {a**b}")
try:
print(f"Division of {a} / {b} = {a/b}")
print(f"True Division of {a} // {b} = {a//b}")
except ZeroDivisionError:
print("Zero Division is Not Possible")
Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners