chapter 7 Lists and Tuples "The Practice of Computing Using Python", Punch & Enbody, Copyright © 2013 Pearson Education, Inc. Data Structures "The Practice…