text = "X-DSPAM-Confidence:    0.8475";
Pos = text.find('0')
#print(Pos)
END = text.find('5',Pos)
#print(END)
NUM = text[Pos:]
Ans = float(NUM)
print(Ans)


5da5fe648dd1fac259f73396e69702327ac032cc
<mask token>

<mask token>
print(Ans)

text = 'X-DSPAM-Confidence:    0.8475'
Pos = text.find('0')
END = text.find('5', Pos)
NUM = text[Pos:]
Ans = float(NUM)
print(Ans)

text = "X-DSPAM-Confidence:    0.8475";
Pos = text.find('0')
#print(Pos)
END = text.find('5',Pos)
#print(END)
NUM = text[Pos:]
Ans = float(NUM)
print(Ans)

