In Python ,
Let x =30 and y =10 ,what will be the output of the following statements.
(a) z=x+y
print (z)
(b) z=x-y
print (z)
(c)z=x*y
print (z)
(d)z=x/y
print (z)
Answers
Answered by
1
a).z=40
b).z=20
c).z=300
d).z=3
Answered by
1
Answer:
z=x+y
=30+10
=40
z=40
z=x-y
=30-10
=20
z=20
z=x×y
=30×10
=300
z=300
z=x/y
=30/10
=3/1
z=3
Similar questions