Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions