X= 10
X=X+10
X=X-5
PrintX
X,Y= X-2,22
print X,Y
Answers
Answered by
10
print "sum of",x,"and",y,"is",x+y
Let's learn about this line of code.
Whatever we write in (" ") or (' ') gets printed as it is and is not evaluated. So, 'Sum of' gets printed and then the value of 'x' gets printed (i.e. 10), then 'and' is printed as it is. Then value of y (i.e. 5) and at last x+y is calculated and printed.
Answered by
8
Answer:
15
13 22
Explanation:
Similar questions