Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/string/jeringoso
blob: e24c069ab7b5396ad7ccf1e10195abba5b61a7ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# jeringoso is an innocent spanish way to talk used by kids,
# you need to add an "p" before earch spanish vowel (a,e,i,o,u) and
# the same vowel after the "p"
# then you got a funny way to talk that parents will not understand.
# ref: http://en.wikipedia.org/wiki/Jeringonza

# first we define the spanish vowels
vowels = ['a', 'e', 'i', 'o', 'u']

# then we ask for a string to make the replacements
text = raw_input("Please input your text to translate to jeringoso:")
length = len(text)
jeringoso = ""
for i in range(length):
    char = text[i]
    if char in vowels:
        jeringoso = jeringoso + char + "p" + char
    else:
        jeringoso = jeringoso + char

print jeringoso