diff options
author | geno <gabriele.genovese2@studio.unibo.it> | 2024-06-27 18:20:34 +0200 |
---|---|---|
committer | geno <gabriele.genovese2@studio.unibo.it> | 2024-06-27 18:20:34 +0200 |
commit | eb7fb04d2dfadd004fa86f28da42681e0038df06 (patch) | |
tree | 1bba3962300083017673c5d689a5d2bf1652109d /test | |
parent | 095a2cb4e9abb88805aac3271874bc512108ff96 (diff) |
left, right = 1, 2 assignment covered
sfaccimm ho fatto refactoring dell exprlist
Diffstat (limited to 'test')
-rw-r--r-- | test/trailers.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/trailers.py b/test/trailers.py new file mode 100644 index 0000000..278a2d4 --- /dev/null +++ b/test/trailers.py @@ -0,0 +1,13 @@ + +def mult(nums): + ret = [] + for a, b in nums: + ret.append(a * b) + return ret + +print(mult([(2, 4), (5, 2)])) + + +# left, right = 1, 2 +# print(left) +# print(right) |