Vote count:
0
I am writing a function that finds the index of the first trail whitespace of a string, but I am unsure of how to do so, can someone please teach me?
for example "i am here. " there are three spaces after the sentence. The function would give me '10'.
and the input is meant to the a text python file that is split into sentences (a list of strings)
Thank you
asked 54 secs ago
how do i find the index of the first trail whitespace on python
Aucun commentaire:
Enregistrer un commentaire