#Write code using find() and string slicing (see section 6.10) to extract the number at the end of the line below.
#Convert the extracted value to a floating point number and print it out.

text = "X-DSPAM-Confidence:    0.8475";

ntext = text.find('0')

ztext=text[ntext:]

ztext=float(ztext)

print(ztext)
 

888ab9a88a352c634d446193c0bbc024105a3663
<mask token>

<mask token>
print(ztext)

text = 'X-DSPAM-Confidence:    0.8475'
ntext = text.find('0')
ztext = text[ntext:]
ztext = float(ztext)
print(ztext)

#Write code using find() and string slicing (see section 6.10) to extract the number at the end of the line below.
#Convert the extracted value to a floating point number and print it out.

text = "X-DSPAM-Confidence:    0.8475";

ntext = text.find('0')

ztext=text[ntext:]

ztext=float(ztext)

print(ztext)
 
