B01E-2019S – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Exam Questions-CBSE12A-2019-B01E #PYTHON#7094    siteicon   siteicon  

Problem Statement - B01E-2019S

Find and write the output of the following python code :

def Changer (P,Q=10) :
  P=P/Q
  Q=P%Q
  print P, "#", Q
  return P
A=200
B=20
A=Changer(A,B)
print A, "$",B
B=Changer(B)
print A, "$", B
A=Changer(A)
print A, "$" , B

Solution

TC++ #7094


Share

CSKC| Created: 10-Apr-2019 | Updated: 10-Apr-2019|CBSE12A-2019









Back