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

text = "X-DSPAM-Confidence:    0.8475";
pos = text.find(" ")
number = text[pos:]
number = number.strip()
num = float(number)
print(num)