Question: Python 1) Ask the user for input. (1 mark) 2) Determine if the user input is a number a) If so, (1 mark) i) Typecast
Python
1) Ask the user for input. (1 mark) 2) Determine if the user input is a number a) If so, (1 mark) i) Typecast the input to a number data type. (1 mark) ii) Output the number (1 mark) b) If not, (1 mark) i) Output the number of characters of the user input (1 mark)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
