Write a python script to create a list with 5 number by using eval function and thereafter replace atleast two elements of the list and traverse it

Write a python script to create a list with 5 number by using eval function and thereafter replace atleast two elements of the list and traverse it

Hey @AmbikaDey1 welcome to the forums!

Is this a school/homework assignment?

Yes it is a school homework

Closed for School Assignment

Now School Assignments are against the community guidelines, and are supposed to be closed according to Staff