Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started