Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python 3. 6. 2 Requriements: Submit only the files requested Print all floats to 2 decimal points unless stated otherwise Problem description Ask the user

Python 3. 6. 2

Requriements:

Submit only the files requested

Print all floats to 2 decimal points unless stated otherwise

Problem description

Ask the user for a string and then print it back out but with all vowels in uppercase and all consonants in lowercase. A vowel is one of the letters A, E, I, O, or U. A consonant is any letter that is not a vowel.

Examples

In the examples below user input has been underlined. You don't have to do any underlining in your program. It is just there to help you differentiate between what is input and what is output.

Example 1

Please enter a string: I am 12 YEARS OLD!!! I Am 12 yEArs Old!!!

Example 2

Please enter a string: Today, is a good day to die. tOdAy, Is A gOOd dAy tO dIE.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions