Question: python - definite loop. The number of iterations of this definite loop will be the total number of characters in YOUR HARDCODED first and last
python - definite loop.
The number of iterations of this definite loop will be the total number of characters in YOUR HARDCODED first and last names. For example, if your name is Jim Bob then the loop will execute exactly 6 times.
Your program must figure out the total number of characters in the two names (hint: the len function is one easy way to do this).
You must use a for or while loop to prompt a user to enter each number. The number of numbers the user enters must match the number of letters in your names (for example, when Jennifer Lawrence runs her program she will be prompted to enter exactly 16 numbers).
Once the loop has finished, your program must output the following:
The number of numbers entered.
The total of the numbers entered.
The average of the numbers entered.
The largest number entered.
The smallest number entered.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
