diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-10 15:17:17 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-10 15:17:17 -0800 |
commit | 46c9e9713208b3d7bda1db400f3af595ae3d64e9 (patch) | |
tree | 69134fc07c440212738a2e60b5abd3173f73d02c /tests | |
parent | 745ce4c2ad710251fd3a0bc944cfc783928587e3 (diff) | |
parent | 074d3b5f869a2bad646ba6c2626b05d405e21f41 (diff) | |
download | micropython-46c9e9713208b3d7bda1db400f3af595ae3d64e9.tar.gz micropython-46c9e9713208b3d7bda1db400f3af595ae3d64e9.zip |
Merge pull request #134 from pfalcon/list-mul
list: Implement list multiplication.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basics/tests/list_mult.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/tests/list_mult.py b/tests/basics/tests/list_mult.py new file mode 100644 index 0000000000..ec65fbb3f4 --- /dev/null +++ b/tests/basics/tests/list_mult.py @@ -0,0 +1,4 @@ +print([0] * 5) +a = [1, 2, 3] +c = a * 3 +print(c) |