Question: Directions Using the following guidelines, create a python program. 1. Create a program named myFavoriteCars.py. 2. Add three comment lines at the top of the

 Directions Using the following guidelines, create a python program. 1. Create

Directions Using the following guidelines, create a python program. 1. Create a program named myFavoriteCars.py. 2. Add three comment lines at the top of the program that contain: a. Program Name b. Program Description C. Programmer's Name (You) 3. Create three tuples. Each tuple should contain (in order the year, make, model and color of a car. 4. Create a list that contains the three tuples. 5. Using a for loop, iterate through the list to output the car information as shown in the example output below. Note the order of the items listed.) 6. Submit the myFavorite Cars.py file into the Chapter 4 Assignment 2 Submission Folder. Example Output (using Python Version 3.6) Python 3.6.4 Shell File Edit Shell Debug Options Window Help Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v. 1900 64 bit (AMD64) ] on win32 Type "copyright", "credits" or "license ()" for more information. -------- RESTART: G:/TTC Courses/cpt180/Assignments/myFavoriteCars.py - 1965 blue Pontiac GTO 1969 yellow Plymouth Roadrunner 2002 black Chevrolet 2-28 Camaro >>> |

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!