Question: In PYTHON please. Write a program that asks the user to enter any string and look for the first appearance of an 'x' or 'X'.
In PYTHON please.
Write a program that asks the user to enter any string and look for the first appearance of an 'x' or 'X'. Give the location of that appearance.
Also expand the problem, locate all the 'x' or 'X's in the string and return the count.
So we need the location of the first appearance of letter x or X along with a count of all the letter X's that are in the string.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
