Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use PYTHON method to write a code for me. I need a correct answer, don't do unexpected mistakes o use a for or while loop

image text in transcribedUse PYTHON method to write a code for me. I need a correct answer, don't do unexpected mistakes
o use a for or while loop a for or while loop to e program the required number of times using the termination technique as specified by the question You are required to provide the docstringfor each function in this assignment. 1. write a function named get strings to ask the user for a series of strings and to return a list where each string is an item in the list. The user indicates that they are finished entering items by entering nothing for the last prompt(empty string). Save the functions in a PyDev library module named a 7 functions .py For example, Enter item: 1 Enter item: 30 Enter item: 40 Enter item: 50 Enter item enter key with no item terminates data entry write a program named q1.py to test the function. The output of the function is printed in one line. As Sample run, result get strings print (result) I' 1', '30', 40 50' Copy the results to testing.txt. 2. write a function largest even that takes a list of integers as parameters. If the list has no even integers, your function should return False. Otherwise, it should return the largest even integer in the list. Note: negative integers can be even. Save the function in a PyDev library module named

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

What does the Project Final Report include?

Answered: 1 week ago

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago