[python-nl] Eigelijk niet voor de mailing list !!!

Ron Speerstra rs445 at lycos.com
Tue Dec 27 12:11:55 CET 2005


Sorry, maar weet niet hoe ik dit anders moet doen! Ik heb verschillende mail's verstuurd die ik terug krijg omdat ik niet een een mailing list zit, maar wil er toch op wijzen, dat er een fout op uw side staat.

Tevens vind ik de list heel interessant en wilde me eigelijk wel aanmelden. Maar deze mail is dus niet voor de m-list bedoeld.

"""Python 2.3.5 (Windows and Linux)
Arch: Celeron 2000, Laptop
"""

in de tutor Python 2.3.5, in: 5.1 More on Lists. THE DUTCH TRANSLATION
zit een fout!!!

http://www.coolpython.nl/tutorials/tut/node7.html
#SECTION007110000000000000000

a = [66.6, 333, 333, 1, 1234.5]
print a.count(333), a.count(66.6), a.count('x')
2 1 0
a.insert(2, -1)
a.append(333)
a
[66.6, 333, -1, 333, 1, 1234.5, 333] ...........Klopt niet (66.6)
moet zijn[66.599999999999994}

Mijn uitkomst is:
a.insert(2, -1)
a.append(333)
a
[66.599999999999994, 333, -1, 333, 1, 1234.5, 333]

Op de Engelse side staat het wel correct.

Gr. Ron Speerstra
Maastricht (NL)

-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10



More information about the Python-nl mailing list