folkerschamel, ⁉️ Another #python #riddle for
#fun!What is the value of the following expression? Why?
sum(map(lambda q, x=[]: (x, x.append(1))[0], range(10)), [])
(Another riddle is https://mastodon.social/@folkerschamel/110876661322264891)
folkerschamel, ⁉️ Another #python #riddle for
#fun!What is the value of the following expression? Why?
sum(map(lambda q, x=[]: (x, x.append(1))[0], range(10)), [])
(Another riddle is https://mastodon.social/@folkerschamel/110876661322264891)
Add comment