Question: by using python: Write a program that reads a single character from the user and then it displays a message indicating whether the input is
by using python:
Write a program that reads a single character from the user and then it displays a message indicating whether the input is an operator symbol (+, -, *, =, /), a punctuation mark (comma, semicolon, parenthesis, braces, bracket), or a digit. Your statement should display the selected category (operator, punctuation, or digit).
_______________________________________________________________________________
Please enter a single character (operator, punctuation, or digit):*
==>You have entered an operator
________________________________________________________________________________
Note:
If you can write the input and output and the algorithm as notes with the solution and thank.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
