Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
3
Task/Loops-Foreach/Python/loops-foreach-4.py
Normal file
3
Task/Loops-Foreach/Python/loops-foreach-4.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
d = {"fortytwo": 42, 3.14159: "pi", 23: "twentythree", "zero": 0, 13: "thirteen"}
|
||||
for k in sorted(d):
|
||||
print("%s: %s" % (k, d[k]))
|
||||
Loading…
Add table
Add a link
Reference in a new issue