web2py Shell Version 1.94.6 (2011-03-27 18:20:38)
In [1] : stack=[2,3,4]

In [2] : stack.append(5)

In [3] : stack
[2, 3, 4]

In the python2.5 shell:

ActivePython 2.5.5.7 (ActiveState Software Inc.) based on
Python 2.5.5 (r255:77872, Jan 31 2010, 15:49:35) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> stack=[2,3,4]
>>> stack.append(5)
>>> stack
[2, 3, 4, 5]

Reply via email to