Hi everyone,
I am running into a task that needs your help.
The task is:
Ask for user input, and write a for loop that will output all the vowels within it. For example:
>>> "Hello" ➔ "eo"
My code is here:
Thank you.
I am running into a task that needs your help.
The task is:
Ask for user input, and write a for loop that will output all the vowels within it. For example:
>>> "Hello" ➔ "eo"
My code is here:
word = input("Write your word here: ") print(word) for letter in word: if letter == 'aeiou': print(letter)I really appreciate your help!
Thank you.
buran write Feb-26-2021, 12:46 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.