Question: with python Practice Exercise 1 O Write a program to request a string input and a character c O Find the index where the character
with python
Practice Exercise 1 O Write a program to request a string input and a character c O Find the index where the character c first occurs in the string. O Then display the sliced substring from that index. Program will not match lowercase or uppercase of the character. O Example 1 Enter a string: earn Python. It is the best! Enter a character: P Python. It is the best! O Example 2 Enter a string learn Python. It is the best! Enter a character: p Python. It is the best
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
