Untitled
unknown
plain_text
2 years ago
301 B
15
Indexable
# DESAFIO 1
# encontre o indice de 'o' dentro da variavel bibliotéca
biblioteca = "Bibliotéca"
# DESAFIO 2
# usando a frase
app = "DESENVOLVIMENTO DE APLICAÇÕES"
# imprima apenas "DE APLICAÇÕES"
# D1
print(biblioteca.index("o"))
# D2
print(app.rindex("D"))
print(app[16:])
Editor is loading...
Leave a Comment