From 4ccfb3a1e1861d489017f9c65c118035541ceded Mon Sep 17 00:00:00 2001 From: Josh Kunz Date: Sun, 5 Apr 2015 14:01:59 -0600 Subject: [PATCH] Adds tests with lists on the left hand side --- proj3/tests/assignment.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proj3/tests/assignment.py b/proj3/tests/assignment.py index e70d17e..ec11639 100644 --- a/proj3/tests/assignment.py +++ b/proj3/tests/assignment.py @@ -8,3 +8,8 @@ print(x, y, z) x = y = a, *b, c, d = list(range(10)) print(x, y, a, b, c, d) + +[a, b, c] = range(5, 5+3) +print(a, b, c) +[a, b, *c, d, e, f] = range(1, 40) +print(a, b, c, d)