Python syntax is weird

This commit is contained in:
Wannes-Sys 2023-06-11 22:05:14 +00:00
parent 50f1e1a003
commit 9c1c366a69
1 changed files with 5 additions and 1 deletions

View File

@ -1 +1,5 @@
# coming soon, expect the unexpected
# try to guess what it prints, before running it
d = {"Hello":"Heyo","World!":"Mars!"}
l = [*(_ for ([][:], *_, [][::][::][::]) in zip(*d.items(), [[][:] for *_, in zip("12345","12345")]))]
print(l)