Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

What attracts you about this role?

Answered: 1 week ago

Question

How many states in India?

Answered: 1 week ago

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago