Question: Please answer below questions.. must be in python Task 05 (5 points) Write a Python script that will make use of the following string of
Please answer below questions.. must be in python
Task 05 (5 points)
Write a Python script that will make use of the following string of student names and string of student grades and store them both in their own list in the same order so that you can then return the name and grade of a given student using the same index.
string1 = "Shaun, Sammy, Brandon, Arielle, Erik, Steven"
string2 = "89, 97, 47, 99, 69, 94"
| Input string | Expected output of script |
| Enter an entry: 1 Enter an entry: 3 | Sammy: 97 Arielle: 99 |
Task 06 (5 points)
Write a Python script that will create a dictionary based on the input string of the previous problem. The script will then prompt for a name and return the grade of the given student. You do not need to perform any error checking yet.
| Input string | Expected output of script |
| Enter a name: Steven Enter a name: Shaun Enter a name: Arielle | Steven: 94 Shaun: 89 Arielle: 99 |
Task 07 (5 points)
Write a Python script that will take in a string of information in the following format and return a customized message to be printed on a T-shirt. You must save the message framework as an fstring and then insert your collected words into their place. You will need to collect the following data: name, occupation, birth month, birth state, interests, relative
| Input string | Expected output of script |
| Todd, little caesars sign spinner, October, Minnesota, Aerobatics, grandmother | My name is Todd. I was born in October. I am a fiercely loyal little caesars sign spinner. You might think Im crazy, but I was born in Minnesota so I cant help it. I like Aerobatics, but I love my grandmother. And yes, they bought me this shirt. |
Task 08 (5 points)
Write a Python script that can read in a number of seconds and return the number of hours, minutes, and seconds it contains.
| Input string | Expected output of script |
| Enter an number of seconds: 5465 | 1 hour, 31 minutes, and 5 seconds |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
