Python Forum

Full Version: a Home language
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ok, I dont have a code for this
what I need to do is basiclly create a home language
which the input will be translated to from english
to home language will add the letter B after each vowel, ive been trying for hours, searching the web etc.. and im not sure how to do it, I just cant understand it
Iterate through your string and append each character to a list.  If the letter is a vowel append a "B" as well.  Join the letters when finished.

We will need to see some code before moving forward but the description above is exactly what you need to do.
If you've been trying for hours, you probably have some code you can show us, right?  If we see what you've been doing wrong, we can give tips on how to right the ship.
I forgot to log back in here
sorry for not responding
I tried the day after and succeed after a couple minutes
thanks for everyone who wanted to help!
Luckily for us, now you need help again :-)