Skip to content

Commit 41f55fa

Browse files
Create Assignment 6.5.py
0 parents  commit 41f55fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: Assignment 6.5.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
text = "X-DSPAM-Confidence: 0.8475"
2+
pos = text.find(":")
3+
numog = text[pos + 2:]
4+
numfloat = float(numog)
5+
print(numfloat)

0 commit comments

Comments
 (0)