Skip to content

Commit 7524cfe

Browse files
committed
strings
1 parent 67fbc2e commit 7524cfe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ActivitySet#1/problem#07.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# Strings
22

3+
# text = "X-DSPAM-Confidence: 0.8475"
4+
35
text = "X-DSPAM-Confidence: 0.8475"
6+
pos = text.find(':')
7+
num =text[pos+1::]
8+
fnum=float(num)
9+
print(fnum)
10+
11+

0 commit comments

Comments
 (0)