@luci_in_the_skyhow to flatten a list of listsPythonPosted at 2024-09-26def flatten(xss): return [x for xs in xss for x in xs] 0Go to list of users who liked0comment0Go to list of commentsRegister as a new user and use Qiita more convenientlyYou get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing upSign upLogin