This Challange is to test the logic of re.start() and re.end() in HackerRank.
start() & end()
These expressions return the indices of the start and end of the substring matched by the group.
Code
import re
m = re.search(r'\d+','1234')
m.end()
4
m.start()
0
=============================================================
Join :
/ jagwithyou
/ jagwithyou
https://github.com/jagwithyou
#CompetitiveProgramming #TWP
Nesta página do site você pode assistir ao vídeo on-line re.start & re.end - Regular Expressions - HackerRank - #12 - Python Practice Examples duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Interview Coder 09 Maio 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 753 vezes e gostou 7 espectadores. Boa visualização!