division returns float python code example
Example: float division in python
print("Please input a number.")
num1 = float(input())
print("Please input another number.")
num2 = float(input())
print (num1,"/",num2,"=",num1/num2)
print("Please input a number.")
num1 = float(input())
print("Please input another number.")
num2 = float(input())
print (num1,"/",num2,"=",num1/num2)