Question: Make a Python program using counter with while loop A user enters a sentence. And then the user enters an alphabet. Sort the words only

Make a Python program using counter with while loop

A user enters a sentence. And then the user enters an alphabet.

Sort the words only with the alphabet (both upper and lower cases)

Use only one while statement, and use upper() and lower() string methods. Start with below

a = input('Enter a sentence: ')

b = a.split()

c = input("Enter an alphabet: ")

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!