Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create a python program that takes an input string from a user. Analyze this string and separate all single letter words into one array,

1. Create a python program that takes an input string from a user. Analyze this string and separate all single letter words into one array, numbers into another array and all longer words into a third array.

  • Use functions
  • The program should continue until the user types in Exit or 0 (zero)
  • Type Print to print out the results for the previous input string
  • Use the given unit tests to check your work
  • Hint: Use can use tuples to group your answers
  • Extra practice: Delete all punctuation

2. Create two new unit tests to verify edge cases for your code


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

Progress Monitoring Data Tracking Organizer

Authors: Teacher'S Aid Publications

1st Edition

B0B7QCNRJ1

More Books

Students also viewed these Databases questions