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


Forgot your password?
 
Document Actions

slides06-ex2-v2.py

by Cicero Garrozi last modified 2014-05-06 07:16

Click here to get the file

Size 1 kB - File type text/python-source

File contents

s = raw_input("Digite o seu nome: ")
resultado = ""
##for i in range(0, len(s)):
##    resultado += s[len(s)-i-1].upper()

for i in range(0, len(s)):
    resultado = s[i].upper() + resultado
    
print resultado

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: