(Python) During a camping trip, your family came up with a secret language
$14.99
$14.99
https://schema.org/InStock
usd
Top Solutions Stop!
During a camping trip, your family came up with a secret language. Since you are doing an
Information Systems course, your family asked you to make a program to help translate English to
your secret language.
The secret language works this way:
• If a word begins with a vowel (a, e, i, o, u) – you add “py” to it
• If a word begins with a consonant – you remove the first consonant
Write a program that uses a function to translate a given English sentence to the secret language.
Test your function by printing the sentence: “An espresso a day keeps the doctor away”
Your program should work as follows:
Enter your sentence:
An espresso a day keeps the doctor away
Anpy espressopy apy ay eeps he octor awaypy
Size
355 Bytes
Add to wishlist