About us
Home
Privacy Policy
QueueOverFlows
Home
Advance JAVA Technology
Data Structure
DataBase Management System
General
PL_SQL
Home
python
6.5 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.
6.5 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.
Nishant Raval
Monday, July 27, 2020
text = "X-DSPAM-Confidence: 0.8475";
ftext= text.find(':')
# print(ftext)
stext=text.find('0')
# print(stext)
ext=(text[23:])
# print(ext)
newval=float(ext)
print(ext)
Post a Comment
0 Comments
Social Plugin
Labels
Advance JAVA Technology
android application developement
Business Intelligence and Data Mining
C Program
Competitive Exam Material
Computer network and security
Data Structure Management
Database Management System
General
Parallel Processing
php
PL/SQL
Project Ideas
python
Soft Computing
Contact Form
Name
Email
*
Message
*
0 Comments