Created
June 26, 2018 21:13
-
-
Save esthercamilo/d03b98ca757a1659db3e5190d42db61d to your computer and use it in GitHub Desktop.
Para colega
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while True: | |
input1 = input("Você é uma pessoa organizada? (s/n)") | |
if input1 == 's': | |
print("Eu acho que você está mentindo") | |
elif input1 == 'n': | |
print("Você precisa aproveitar melhor seu tempo") | |
else: | |
print("Digite s ou n") | |
print("Vamos brincar com listas?") | |
frase=str(input("Digite uma frase qualquer")) | |
q = frase.split(' ') | |
print("Na forma de lista, sua frase fica assim: {0}".format(q)) | |
print("Sua frase tem {0} palavras".format(len(q))) | |
comecar = input("Quer começar de novo? (s/n)") | |
if comecar != 's': | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment