Question: Python 9. Create a list of strings based on a list of numbers. The rules: If the number is a multiple of five and odd,
9. Create a list of strings based on a list of numbers. The rules: If the number is a multiple of five and odd, the string should be 'five odd' If the number is a multiple of five and even, the string should be . five even. If the number is odd, the string is odd If the number is even, the string is 'even numbers11, 3, 4, 6, 81, 80, 100, 951 # Your implementation my-list # my list ['odd', odd', 'even', 'even', 'oddi. five even', 'five ev en'five odd']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
