7 lines
125 B
Python
7 lines
125 B
Python
text = "X-DSPAM-Confidence: 0.8475"
|
|
|
|
confidence = text.find("0")
|
|
|
|
confidence = float(text[confidence:])
|
|
|
|
print(confidence) |