+ 1
Ruby vowel counter
New to the challenges. I think my code is correct I think but I don't understand how the tests are run. Do I need to input the strings from the tests? def vowels(str) total = str.upcase.count('aeiou') prin?t total end Can someone help please
1 Respuesta
+ 2
If you're talking about code coaches, the program will provide the user input. For you to be able to read that user input, you need to use the relevant input function.