Write the output of the following Python program c_ode:
A = [10,12,15,17,20,30]
for i in range(0,6):
if (A[i] % 2 == 0):
A[i] /= 2
elif (A[i] % 3 == 0):
A[i] /= 3
elif (A[i] % 5 == 0):
A[i] /= 5
for i in range(0,6):
print(A[i],end= "#")
❌Don't sp_am ❌
Answers
Answered by
0
Answer:
refer to the attachment drop some thx plz
Attachments:
Answered by
1
OUTPUT
- 5.0#6.0#5.0#17 #10.0#15.0#
hope it helps mate
Similar questions