0
Why is it not working
4 Antworten
+ 1
`input` function returns a string. You need to convert the two input string into numbers before you can do arithmetic operation on them.
num1 = int(input("Enter 1st number"))
num2 = int(input("Enter 2nd number"))
Then you can multiply them, and print the result.
print(num1 * num2)
+ 1
Please change your tag, it shouldn't be abc.
0
What do u want to say
0
Just try to run the code