Skip to content

Instantly share code, notes, and snippets.

@steffanydev
Created March 10, 2020 00:42
Show Gist options
  • Select an option

  • Save steffanydev/e35abef699350c839ff1ab197af3a51b to your computer and use it in GitHub Desktop.

Select an option

Save steffanydev/e35abef699350c839ff1ab197af3a51b to your computer and use it in GitHub Desktop.
desafio-3.py
nome = input('Informe seu nome completo: ')
print('Quantidade de Letras com espaço: ', len(nome))
print('Quantidade de Letras sem espaço: ', len(nome.replace(" ", "")))
print('Nome em minuscula:', nome.lower())
print('Nome em maiscula:', nome.upper())
lista = nome.split(" ")
print(lista[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment