4 ms·
Since you like map, you could shorten it a bit by doing map(str, flatten(vertex)) instead of the list comprehension.
by throwaway287391 9y ago
Since you like map, you could shorten it a bit by doing
map(str, flatten(vertex))
instead of the list comprehension.