Question: >>>>PYHON 3 < < < < step 1. write a complete program as the starting template for your program. You need to creat an array

>>>>PYHON 3<<<<

step 1. write a complete program as the starting template for your program. You need to creat an array name and the assigned value in the main program

step 2. In the main routine assign the variable monthsOfYear an array of twelve strings for the twelve months of the year. Start the montheOfYear array, with January and list all months in order ending with December.

step 3. Write a Python function displayProgramTitle that takes two parameters, firstName and lastName and displays the message below. Use f-string for interpolation in the print statement. Display Weekdays Program by firstName lastName

step 4. Write the calling statement in your main function for the displayProgramTitle function passing your first-name and last-name as the actual parameters.

step 5. Write a Python function displayList that takes two parameters, ListName and List (any array of strings for example array of the months of year) and displays the following. ListName: First element in the List Second element in the List Last element in the List As shown above the elements of list are padded with two spaces to have indentation under the ListName:

step 6. Write the calling statement in your main function for the displayListfunction passing string Months of Year and the variable monthOfYear as the actual parameters.

step 7. As the last statement in your main functions print Display weekdays program completed.

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!