-
-
Save som983/ccac6a06a3280ac368994f5f2f92fd12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = "X-DSPAM-Confidence: 0.8475" | |
startpos= text.find('0') | |
afterpos= text[startpos:] | |
endpos= float(afterpos) | |
print(endpos) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment