create a python list containing four integers. Replace the third and fourth item in the list with the product of the last two items and print the list on the screen.
Answers
Answered by
1
Answer:
list = [1,2,3,4]
list[2] = list[2]*list[3]
list[3] = list[2]
print(list)
Explanation:
Similar questions