>>> list1 = list2 = [] >>> list1.append(1) >>> list2.append(2) >>> print list1 [1, 2] Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up