How can I get the concatenation of two lists in Python without modifying either one? [duplicate]

This question already has answers here: How do I concatenate two lists in Python? (31 answers) Closed 6 years ago. In Python, the only way I can find to concatenate two lists is list.extend, which modifies the first list. Is there any concatenation function that returns its result without modifying its arguments? 7 s 7 … Read more