How to check if the to list are the same in Python? Subash Chandran 19th October 2021 Leave a Comment >>> [0,1,2] == [0,1,2] True >>> [0,1,2] == [0,2,1] False >>> [0,1] == [0,1,2] False Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also How to print factorial in Python? Snippets How to check if the to list are the same in Python? Change font size A Decrease font size. A Reset font size. A Increase font size.