2022PythonExamples/3 - Variables and Basic Math/Challenge/main.py

6 lines
248 B
Python

firstValue = float(input("Value 1: "))
secondValue = float(input("Value 2: "))
thirdValue = float(input("Value 3: "))
print(str(firstValue) + " / " + str(secondValue) + " - " + str(thirdValue) + " = " + str(firstValue / secondValue - thirdValue))