I am just a bit confused on why my code of:
print("Welcome to my calculator")
number_one = int(input("What is your first number: "))
sign = input("Please enter your operator: ")
number_two = int(input("What is your second number: "))
if sign == "+" :
print ("Your answer is", number_one + number_two)
if sign == "-" :
print("Your answer is", number_one - number_two)
if sign == "/" : print("Your answer is", number_one / number_two)
elif sign == "*": print("Your answer is", number_one * number_two)
else : print("Sorry, i don't understand")
prints out remainders when i use the division operator. I haven't stated a float function and have been told that if you wanted remainders in your answer, you must use it. It's just confusing me on why i am getting remainders even whilst using the integer function?