Question: PYTHON Write a program that gets a string from the user and prints out the string, in quotes, as well as the number of characters

PYTHON

Write a program that gets a string from the user and prints out the string, in quotes, as well as the number of characters in it. It should work as follows:

Enter a sentence: The quick brown fox jumped over the lazy dog. Your sentence "The quick brown fox jumped over the lazy dog." contains 45 characters. 

Test that this works with the sentence given above, and some other sentences of your own choosing, too.

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!