List Begin Values Property
if the following are true:
- expression state at time t = "begin_expr"
- the expression at time t = Python list elements
then Value Stack at time (t + 1) = [ [ ], Value Stack at time t ]
For example,
if the following are true:
- expression state at time 1 = "begin_expr"
- the expression at time 1 =
[2, 4, 6]
- Value Stack at time 1 = [ ]
then Value Stack at time (1 + 1) = [ [ ], Value Stack at time 1 ]
Try stepping through the simulator to see LW Python add a new list into the "Values Stack."
Code Editor
LW Python State
Current Line | 1 | Current Tab | 0 | Time | 0 |
LW Python Simulator
Comments
Please log in to add comments