Exercício Guiado com while

This commit is contained in:
Luiz Otávio
2022-10-28 05:59:11 -03:00
parent 52dc18d7f3
commit 444d56b9f3

View File

@@ -1,3 +1,13 @@
"""
Crie uma calculadora com while
Iterando strings com while
"""
# 012345678910
nome = 'Luiz Otávio' # Iteráveis
# 1110987654321
tamanho_nome = len(nome)
print(nome)
print(tamanho_nome)
print(nome[3])
nova_string = ''
nova_string += '*L*u*i*z* *O*t*á*v*i*o'