Ministério da Educação
Brasil um país de todos
Personal tools
Navigation
Log in


Forgot your password?
 
Document Actions

lista4ex1.py

by Cicero Garrozi last modified 2014-10-22 07:15

Click here to get the file

Size 1 kB - File type text/python-source

File contents

s = raw_input("Digite o texto: ")
print "a: "+'*'*s.count('a')+'('+str(s.count('a'))+')'
print "e: "+'*'*s.count('e')+'('+str(s.count('e'))+')'
print "i: "+'*'*s.count('i')+'('+str(s.count('i'))+')'
print "o: "+'*'*s.count('o')+'('+str(s.count('o'))+')'
print "u: "+'*'*s.count('u')+'('+str(s.count('u'))+')'

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: