Question: Your program must include a comment header with Author, Assignment ( Program 1 ) , Description, and Due Date. Create variables to hold a person's
Your program must include a comment header with Author, Assignment Program Description, and Due Date.
Create variables to hold a person's first name and last name. Do not put spaces in either of the values that are used.
Create variables to hold values for height in inches and weight in pounds
Assign values to the appropriate variables according to the following statement.
Isaac Newton was and lbs
Using an fstring and the variables, print the statement above.
Create a list called names that contains the following: Will, Angie, Mike, Eva.
Create a list called heights that contains the following:
Create a list called weights that contains the following:
Add the following lines to your program.
import random
listind random. randint
These lines generate a random integer between and and stores the value in listind. Use listind and your list variables to generate a similar sentence to the one above, but using the appropriate person in the lists. is and lbs The sentence will change each time you run the program because the random number will change.
Your program that you submit must be a script in a file named programWillm.py where you replace WillM with your first name and last initial.
This has to be in python
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
