ej6.5.py

#!/usr/bin/python # -*- coding: utf-8 -*- cad = 'X-DSPAM-Confidence: 0.8475' pos_punto = cad.find('.') print '%f' % float(cad[pos_punto:])

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.