Please help me with the code. I cant pin down the problem here.
for char in text ? What is text in your code exactly ?
Text is not declared anywhere, it is just a function variable.
If you wanna have value saved in
text then you need to call the function with some value in it
Hi. Text is just the parameter of the function which is supposed to be a string input.
Ok, but is it a string input in your code ? I cannot see any function call with some value that would be passed to text parameter.
First I would recommend just doing an if/else statement in a one for loop. Try setting it it to iterate over
char is in your list of vowels append an empty space and else add the
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.