- 4
def ChangeVal(M,N): for i in range(N): if M[i]%5 = = 0: M[i] //= 5 if M[i]%3 = = 0: M[i] //= 3 L=[25,8,75,12] ChangeVal(L
I need this for my exam as soon as possible before the next 15 min please
3 Respostas
+ 4
The code was cut and your question is unclear. Please clarify.
And don't cheat at exams.
0
Sir i actually had a doubt What is the output of the following code snippet?  def ChangeVal(M,N):  for i in range(N):  if M[i]%5 == 0:  M[i]//=5  if M[i]%3 == 0:  M[i]//=3  L = [25,8,75,12]  ChangeVal(L,4)  for i in L:  print(i,end="#")  what will be the solution for M[2] and pls explain . Thanks
0
Sir i actually had a doubt What is the output of the following code snippet?  def ChangeVal(M,N):  for i in range(N):  if M[i]%5 == 0:  M[i]//=5  if M[i]%3 == 0:  M[i]//=3  L = [25,8,75,12]  ChangeVal(L,4)  for i in L:  print(i,end="#")  what will be the solution for M[2] and pls explain



