Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using python 1. A. User Input: Write a function get_list_of_words(): Use a while loop to continually ask the user to input a word, until they

image text in transcribed

using python

1. A. User Input: Write a function get_list_of_words(): Use a while loop to continually ask the user to input a word, until they type "quit". Once they type a word in, add it to a list. Once they quit the loop, return the list. (Please do not print, but return the list) 2.5 points B. Write another function print_sortedt(in_list): that will use a for loop to print all items within the list in a reversed order. The print should separate the words using a comma and at the end put out a new line 2.5 points Test against the words: USA, ISA, FSB, Miami, ISA, Python, quit C. Modify the get_list_of_words() to get_list_of_numbers() 1 point

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

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions