Question: Program specification Specifications You are to design and write a Python Program. Your solution will include a design tool. Your source code will include a

 Program specification Specifications You are to design and write a PythonProgram. Your solution will include a design tool. Your source code willinclude a comment header and comments within the body of your code.

Program specification Specifications You are to design and write a Python Program. Your solution will include a design tool. Your source code will include a comment header and comments within the body of your code. You source code will include a main function and a call to the main function (all programs within this course will always include a main function) Program specification When the loop control variable is an odd number, display the loop control variable followed by a period and then your name and then a period. You are to create a program that will loop 101 times beginning with O and incrementing by 1. Sample Output Somehow you are to determine when or if the loop control variable is an even or odd number. 1. Dennis. 3. Dennis. 5. Dennis. 7. Dennis. 9. Dennis. 11. Dennis. Let me dumb this down.... a. 1. There is NO user input for this program. 2. You will need a counter to control your loop. The loop will iterate 101 times. 3. You will probably use an if statement inside of the loop. You should reuse your code (see previous assignments, if you did them) that let you know if the counter is an even number or an odd number b. If the counter is an even number then you do nothing but increment the counter and loop again. If the counter is an odd number then you output the number followed by your name i. 1. Dennis Hunchuck. 4. You will repeat this sequence until you have looped 101 times. C

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!