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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!