Find and write the output of the following python code:
def Alter(P):
for i in range(len(P)):
if P[i] % 2 == 0:
P[i] += 10
else:
P[i] += 5:
print(P)
L = [ 10, 13, 25, 12]
Alter(L)
Print(L)
Answers
Answered by
0
I apologise , but I am just 15
Similar questions