So at the end of my loop i gave you you need to reconstruct the sentence so find a way to peice it back together. Here is a code snippet which might help:
first = "hello"
second = ""
for letter in first:
second += letter
print second
#prints "Hello"
And what you need to do, is if that for every time through the loop you check to see if the letter is a vowel, if it is then the if statement will be true and run, so then you would have to use that [icode]letter= letter.upper()[/code] code and that would capitalize your letter ready to be added onto the second string.
Last edited by Paul Thompson; Feb 13th, 2009 at 4:12 pm.
Reputation Points: 264
Solved Threads: 183
Veteran Poster
Offline 1,095 posts
since May 2008