I have this code. I want to use floats as an option for a calculator, when I run the code and attempt to enter my first value as a decimal, it throws me this error message invalid literal for int() with base 10: '3.4'
#loop
while True:
input_mult = "*"
input_div = "/"
input_add = "+"
input_sub = "-"
first = input('Please enter your first value: ')
one = int(first)
if one is float:
continue
onef = float(first)
operator = input('Please enter your operator: ')
second = input('Please enter your second value: ')
twof = float(second)
two = int(second)
if operator == input_mult:
print(one * two)
if operator == input_div:
print(one / two)
if operator == input_add:
print(one + two)
if operator == input_sub:
print (one - two)