Question: python Write a function named categorize that takes a string as a parameter and returns short if the input has less than 6 characters, medium

python Write a function named "categorize" that takes a string as a parameter and returns "short" if the input has less than 6 characters, "medium" if the input has greater than or equal to 6 but less than 10, and returns "long" if the input has greater than or equal to 10 characters 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
