How do i do a program that counts the vocals of a a word with 8 characters or more

I need to make a program that counts the vocals of a word with 8 characters or more and it has to use this code:

num_vocals=0
vocals=["a","e,","i","o","u"]
...
if lletra in vocals:
	num_vocals=num_vocals+1
	...

You can add stuff instead of the dots

:wave: Welcome to the forums, @DanielGonzal245!

It seems that this post is asking for answers to a school assignment. It is against Replit Ask policy for community members to request or post complete answers to homework-like questions. On the other hand, the community can assist you in working through and understanding the core fundamentals of computer programming to help you figure out your question by yourself, though.

3 Likes