Computer Science, asked by sahithi1220, 5 months ago

What will be the output produced by following code:
i name='neeru
age=21
print(name, "you are", 21,"now but")
print("you will be "age+1,"next year”)
ii- x,y=2,6
X,y=y,x+2
print(x,y)
iii- p=10
q=20
p*=q/2​

Answers

Answered by madhalaimuthucharlas
3

Answer:

I) neeru you are 21 now but

you will be 22 next year

2) your expected output is 6 4

But you mentioned Capital X so the output is 2 4

3) you forgot to add print statement

if you added print p the output is 100.0

Similar questions