Talk is cheap,Let's do this! product_list = [ ['Iphone7 Plus', 6500], ['Iphone8 ', 8200], ['MacBook Pro', 12000], ['Python Book', 99], ['Coffee', 33], ['Bike', 666], ['pen', 2] ] shopping_cart = [] f = open('user.txt', 'r') lock_file = f.readlines()…