0
how can i perform operations numeric-operations in my code playground ??
I tried many times to perform a calculation or any other calculation in my code playground but I'm not able to get the output of it .. can someone tell me why ??
2 odpowiedzi
+ 14
you need to use print statement.
x= 3
y = 2
result = x+y
print(result)
if your code requires multiple inputs, you insert any data each line
x = int(input ("Number 1: ")
y = int(input ("Number 2: ")
result = x+y
print(result)
you should input this way:
3
2
+ 2
print the result