+ 1
Python 3 simple calculation
I CANT GET CORECT ANSWER. I WROTE CODE LIKE BELOW. HOW DO I GET CORRECT? print(3+6) ,print(11+22);
5 Réponses
+ 4
You need to get the input() of both numbers and convert to an int() and store each in a variable. Then print() the sum of the 2 variables.
num1 = int(input())
num2 = int(input())
print(num1 + num2)
+ 3
Paste this in code playground you will get your answer
+ 2
ichihaze What is the Question ? And what is your desired output ??
0
Alphin K Sajan
Thank you for your reply.
I questioned about below contents.
Python 3
Strings & Module Project
Simple calculator