0
python string
text = "X-DSPAM-Confidence: 0.8475"; x=text.find("0.8475") z=text.find("5") y=text[x:z+1] i=float(y) print(i) this is a piece of code i have written and when i run it there is a prompt asking me to pull data from string someone pls help me do that
5 Answers
+ 5
Please put your code that causes the error in playground, and link it here. Thanks!
0
Can you add a screenshot, because the code is working and finishing as it should
0
How do i add a screenshot
0
Make a link to an online servic like google pics or imgur