0
Please is anything wrong with this code?
elif user_input == "add": num1 = float(input("Enter a number: ")) num2 = float(input("Enter another number: ")) result = str(num1 + num2) print("The answer is " + result)
2 ответов
+ 3
If this is a part of a code then it's right but if it's a standalone code then it's a faulty code
+ 1
Yeah, it's part of a main code trend...