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

Task 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. Task 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. ask 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 ask 5: Using round ( ) Function 1. Create a variable float_num and assign it any floating-point number. 2. Use the round () function to round the float_num to the nearest integer. 3. Print the rounded value with a suitable message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
