All pastes #810467 Raw Edit

Something

public python v1 · immutable
·published 2007-12-09 23:36 UTC
rendered paste body
#The question below Given a variable  s that is associated with non-empty empty string, write some statements that use a while loop to associate a variable  vowelCount with the number of lower-case vowels ("a","e","i","o","u") in the string . #My code below i = 0vowelCount = 0 while i < len(s):	if s[i].lower() in ["a","e","i","o","u"]:		vowelCount += 1	i += 1# Output from server executionTest #:1Test Case: ABcdeYour Results: vowelCount = 2Error: Count does not contain the correct value