Python Forum
a Home language - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: a Home language (/thread-5183.html)



a Home language - TDH - Sep-21-2017

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


RE: a Home language - Mekire - Sep-21-2017

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.


RE: a Home language - nilamo - Sep-21-2017

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.


RE: a Home language - TDH - Oct-17-2017

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!


RE: a Home language - buran - Oct-17-2017

Luckily for us, now you need help again :-)