Answer to Question #97225 in Python for yousif

Question #97225
Write a program that asks the user to input a word or phrase and then outputs the following information about that phrase:

"All numbers", if the input is all numbers.
"Does not contain numbers", if the input does not contain any numbers.
"Contains a {digit}" for each number in the phrase.
Sample Run

Enter your word or phrase: 555
All numbers

Enter your word or phrase: We are #1!
Contains a 1

Enter your word or phrase: a1b2c3d
Contains a 1
Contains a 2
Contains a 3

Enter your word or phrase: computer science
Does not contain number
1
Expert's answer
2019-10-24T00:57:17-0400
Dear yousif, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS