Question: (Python) Even-Odd-Digit Write a program that reads a string from the input. Then print 2 if the number of characters in the string is even,
(Python) Even-Odd-Digit
Write a program that reads a string from the input. Then print 2 if the number of characters in the string is even, otherwise print 1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
