append function problem?

Murali maha.murali at gmail.com
Thu Apr 27 23:56:10 EDT 2006


A typo here? seed v/s seed1.

Instead of "print(seed.append(5))", try "seed.append(5)" followed by
"print seed" -- "print(seed)" also works. The append method does not
return the appended value 
(like many C functions).

- Murali




More information about the Python-list mailing list