Initial work
This commit is contained in:
1 parent
996ea45153
commit
688d1ec426
48 files changed
+1148
No files matched your search
@@ -0,0 +1,13 @@
|
||||
counts = { 'chuck': 1, 'annie': 42, 'jan': 100 }
|
||||
|
||||
for key in counts:
|
||||
if (count := counts[key]) > 1:
|
||||
print(key, count)
|
||||
|
||||
|
||||
|
||||
lst = list(counts.keys())
|
||||
print(lst)
|
||||
lst.sort()
|
||||
for key in lst:
|
||||
print(key, counts[key])
|
||||
Reference in new issue
Block a user