push builtin
push(list,value)
Returns a new list with the value appended; lists are values, so assign the result.
| Phase | all |
|---|
Example
@tt
log(str(str(push([1], 2))))Logs: [1, 2]
push builtinpush(list,value)
Returns a new list with the value appended; lists are values, so assign the result.
| Phase | all |
|---|
@tt
log(str(str(push([1], 2))))Logs: [1, 2]