Question: Write a python script that takes a list [ 3, 5, 3, 2, 1, 6, 8, 7] and finds the maximum and minimum values in

Write a python script that takes a list [ 3, 5, 3, 2, 1, 6, 8, 7] and finds the maximum and minimum values in this list. Note: You are not to use max and min functions on the list, instead use loops and iterate over the list to find the max and min values. (linux)

Write a lambda function that multiplies two numbers provided as the argument. Provide a sample run of the function and print the return value. (linux)

Write a function that takes a list as an input and multiplies each element of the list with 5. You can pass this list as the argument [10, 20, 30, 40, 50].(linux)

Write a python script that opens a file in read write mode and write a string to that file. After writing is done, read the string and print it on the screen. (linux)

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!