filmov
tv
Write a Python Program and use Function to Take Two Numbers and Return the Division of Two Numbers

Показать описание
Hello Programmers, Welcome to my channel.
In this video you will learn about how to Write a Python Program and use Function to Take Two Numbers and Return the Division of Two Numbers
Python Scripts
======================
Python Functions Solved
==========================
Python Programs Solved
============================
Code
=============================
"""
Write a Python Program and use Function to Take Two Numbers and Return the Division of Two Numbers
"""
def div(a, b):
return a / b
num1 = float(input("Enter the first number : "))
num2 = float(input("Enter the second number : "))
if num2 != 0:
result = div(num1, num2)
print("Division of Two Numbers is %.2f " % result)
else:
print("Divide by zero 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 Python Program and use Function to Take Two Numbers and Return the Division of Two Numbers
Python Scripts
======================
Python Functions Solved
==========================
Python Programs Solved
============================
Code
=============================
"""
Write a Python Program and use Function to Take Two Numbers and Return the Division of Two Numbers
"""
def div(a, b):
return a / b
num1 = float(input("Enter the first number : "))
num2 = float(input("Enter the second number : "))
if num2 != 0:
result = div(num1, num2)
print("Division of Two Numbers is %.2f " % result)
else:
print("Divide by zero is not possible")
Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners