Question: 1. Ask the user for a long string 2. Print the length of the string 3. Print the number of uppercase letters in the string

1. Ask the user for a long string 

2. Print the length of the string 

3. Print the number of uppercase letters in the string 

4. Print the number of lowercase letters in the string 

5. Print the number of digits in the string 

6. Print the number of spaces in the string

 

OUTCOME LOOKS LIKE

Enter a long string: *some sentence*

The length of the string is: *number or letters from sentence*

There are  *_* uppercase letters

There are *_* lower case letters

There are *_* digits

There are *_* spaces

 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

You can create a Python program to achieve the desired outcome by following these steps Step 1 Ask t... View full answer

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 Programming Questions!