Aula 09 - curso em video python part 01

an anonymous user · October 11, 2023
frase = 'Curso em Video Python!'
print ('*'.join(frase[3:13]))

frase = 'Curso em Vídeo python !'
print(frase[9:21:2])

#print(\next) - <br>

frase = 'Curso em vídeo pytohn !'
print(frase[:5])

frase = 'Curso em video python !'
print (frase[15:])

frase = 'Curso em video python'
print (frase[9::3])
print ('-'*30)
#------------------------------------------------------

#Analise de string (como começa, termina)

frase = 'Curso em video python'
print (len(frase))


frase = 'curso em video python'
print (frase.split())
Output

Comments

Please sign up or log in to contribute to the discussion.