float object not callable
So I am trying to make my own calculator but every time I execute the code, i keep getting an error saying: print("Options:") TypeError: 'float' object is not callable. Here is my code: while True: print("Options:") print("Enter 'add' to add two numbers") print("Enter 'subtract' to subtract two numbers") print("Enter 'multiple' to multiply two numbers") print("Enter 'divide' to divide two numbers") print("Enter 'quit' to end the program") user_input = input(":") if user_input == "quit": break elif user_input == "add": print("Enter numbers for addition") nums1 = float(input("Enter number:")) nums2 = float(input("Enter number:")) Result = (nums1 + nums2) print = (Result)