how can i perform operations numeric-operations in my code playground ?? | Sololearn: Learn to code for FREE!

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 ??

3/6/2017 5:44:36 AM

wansh

2 Answers

New Answer

+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