In this video we will learn advance level of indexing concept.
Along with this we will learn couple of example.
1)how to reverse list/string
2)how to reverse words in given string sentence using join function.
######Code used in video####
li=[4,7,9,10]
li[1:4]
li[-2:-4:-1]
li[-2:-4]
li[::-1]
test_str="sumit"
test_str[::-1]
s1="my name is sumit"
#s1_out="sumit is name my"
s2=s1.split(" ")
s2_rev=s2[::-1]
sep=" "
final_s=sep.join(s2_rev)
##########################
Nesta página do site você pode assistir ao vídeo on-line list and string index in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário sumit kumar 24 Setembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 243 vezes e gostou 13 espectadores. Boa visualização!