I am new in python and I have this code:
s = 'azcbobobegghakl'
for (i, item) in enumerate(s):
print item
for (i, item) in enumerate(s):
if item=="a" or item=="e" or item=="i" or item=="o" or item=="u"
vol++
print vol
The first for works goods and show each character as should be. For the second for I have this error :
if item=="a" or item=="e" or item=="i" or item=="o" or item=="u"
^
SyntaxError: invalid syntax
I search this post but it not solved Pythonic String Testing
:after theifblock.in:if item in 'aeiouAEIOU':