Find the output of the following code:
A,C,B=100,200,30
A%=6
B=C//B
print(“Values of A,B,C respectively are = ”,A,B,C)
Answers
Answered by
0
A,C,B=100,200,30
A%=6 #A=A%6
B=C//B
print("Values of A,B,C respectively are =" ,A,B,C)
A%=6 means A=A%6
So, A= 100%6(remainder) = 4
NOW, B= C//B = 200//30(quotient) = 6
Values of A,B,C respectively are = 4 6 200
Similar questions