0

Como crear un dicc con 3 letras de una cadena como clave y una lista con las posicions de esas 3 letras como valor? Gracias

Por ejemplo: cadena="ASDFGTCGUASDHTY" Dicc= {"ASD", [1, 9]}

27th Dec 2016, 12:52 PM
MIGUEL GARCÍA GÓMEZ
MIGUEL GARCÍA GÓMEZ - avatar
2 Respuestas
+ 1
use English please
29th Dec 2016, 2:02 PM
Hetbo.net
Hetbo.net - avatar
0
I need first to slice a string in groups of three letters and then to get the position of these groups of letters in the original string. for example: s="poppippoppep" dicc= {"pop", [0, 6]; "pip", [3]....}
29th Dec 2016, 2:09 PM
MIGUEL GARCÍA GÓMEZ
MIGUEL GARCÍA GÓMEZ - avatar
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes