Assume S is a string of lower case characters. Write a program that counts up the number of vowels contained in the string S. Valid vowels are 'a', 'e', 'I', 'o', and 'u'. For example, if S='azcbobobegghakl' your program should print: Number of Vowels:5

s = raw_input('supply a string')

s = s.lower()
s = list(s)
v = ['a','e','i','o','u']
c = 0
for a in s:
if a in v:
c+=1

print "the answer is ", c

Gbadebo, I'm sure u'r a FUTA 200L student, a friend also gave me ds question, plus d other two u posted. I already solved bur she stopped me frm posting dm online. You can contact me @ 08020803585

s = raw_input('supply a string')

s = s.lower()
s = list(s)
v = ['a','e','i','o','u']
c = 0
for a in s:
if a in v:
c+=1

To count the number of vowels in a given string, you can follow these steps:

1. Initialize a variable `count` to 0. This variable will keep track of the number of vowels.

2. Loop through each character, `ch`, in the string `S`.

3. Check if the lowercase value of `ch` is a vowel. You can use the `in` operator to check if `ch` is present in the string `'aeiou'`.

4. If the character `ch` is a vowel, increment the value of `count` by 1.

5. After looping through all the characters, print the value of `count`.

Here's the code in Python:

```python
S = 'azcbobobegghakl'
count = 0

for ch in S:
if ch.lower() in 'aeiou':
count += 1

print("Number of Vowels:", count)
```

This program will output:
```
Number of Vowels: 5
```

The `lower()` method is used to convert the character `ch` to its lowercase form, allowing us to compare it with the lowercase vowels.