Answer to Question #219063 in Python for Krish

Question #219063

Write a program to replace elements with zeros


1
Expert's answer
2021-07-20T02:32:32-0400
student = [7,8,9,10,7  ]
print(len(student))
n = len(student)
for item in range(n):
    student[item] = 0
print(student)
    

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS