diff options
author | Sudipto Mallick <smlckz@termux-alpine> | 2024-01-13 09:28:10 +0530 |
---|---|---|
committer | Sudipto Mallick <smlckz@termux-alpine> | 2024-01-13 09:28:10 +0530 |
commit | 8fb719f58f91d1f1f187a1db974682fb3736ee05 (patch) | |
tree | 506e070c7900cc5e3fb31000dbd1a39e95809c61 /python/code/2/3.py | |
parent | 53d75846cc95a3af5d90c01b5ef010818b4adcf7 (diff) | |
download | zadania-8fb719f58f91d1f1f187a1db974682fb3736ee05.tar.gz |
Changes to project structure of Python assignments
As was directed to remove assignments.
Diffstat (limited to 'python/code/2/3.py')
-rw-r--r-- | python/code/2/3.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/python/code/2/3.py b/python/code/2/3.py deleted file mode 100644 index 2a8dd10..0000000 --- a/python/code/2/3.py +++ /dev/null @@ -1,6 +0,0 @@ -items = [(0, 'd'), (1, 'a'), (2, 'c'), (3, 'b')] - -print(max(items, key=lambda it: it[0])) -print(min(items, key=lambda it: it[1])) -items.sort(key=lambda x: ord(x[1]) - x[0]) -print(items) |