what will be the output of following code print(15//4) 15%4,15\4)
Answers
Answered by
0
Answer:i)X = 10X = X+10X = X-5print(X)X, y = X-2, 22print(X, Y)# output1513 22
ii)first = 2second = 3third = first * secondprint(first, second, third)first = first + second + thirdthird = second * firstprint (first, second, third)# output2 3 611 3 33
iii)side = int(input('side')) # side given as 7area = side*sideprint(side, area)# output7 49
I hope it's help you dear
Similar questions