Skip to content

Instantly share code, notes, and snippets.

@esthercamilo
Created June 26, 2018 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esthercamilo/d03b98ca757a1659db3e5190d42db61d to your computer and use it in GitHub Desktop.
Save esthercamilo/d03b98ca757a1659db3e5190d42db61d to your computer and use it in GitHub Desktop.
Para colega
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