Quick actions

cmd+k|ctrl+k

Navigation

Languages

b1-3

Snippet info

Language

Python

Visibility

public

Author

conghuan93kma

Created

2016-10-17T13:35:03Z

Updated

2016-10-20T12:44:37Z

s='hello Max'
s1=s.replace(' ','')
vowel = ['u','U','e','E','o','O','a','A','i','I']
count = 0
for word in s1:
    if word in vowel:
        count += 1
print ('So nguyen am la: ',count)
print ('So phu am la: ',len(s1)-count)
INFO