Question: plz do in Idle sk 1: Using len ( ) Function 1. Open a new Python file and name it builtin_functions.py. 2. Create a string

plz do in Idle
plz do in Idle sk 1: Using len ( ) Function 1.
Open a new Python file and name it "builtin_functions.py". 2. Create a

sk 1: Using len ( ) Function 1. Open a new Python file and name it "builtin_functions.py". 2. Create a string variable message and assign it any message of your choice. 3. Use the len ( ) function to determine the number of characters in the message variable. 4. Print the length of the message with an appropriate message. sk 2: Using input ( ) Function 1. Create a new variable, user_name, and use the input ( ) function to ask the user for their name. 2. Store the user's input in the user_name variable. 3. Print a personalized greeting using the user_name variable. Task 3: Using max ( ) and min ( ) Functions 1. Create a list variable (a variable that holds multiple values named number_list. - Code: number_list = [123,23,33,14,55] 2. Use the max ( ) function to find the largest value in the numbers list. 3. Use the min ( ) function to find the smallest value in the numbers list. 4. Print both the largest and smallest values with appropriate messages. Task 4: Using sum ( ) Function 1. Create another list called grades (see code example above) containing the marks of five students (integer values). 2. Use the sum () function to calculate the total marks of all the students in the grades list. 3. Print the total marks with a suitable message. 4. Print the average mark for the five students. Hint: Use the sum() functions and divide by the number of student grades in the list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!