How to check if all elements are the same in the list?
📁 Advanced Python Topics
n = int ( input ()) sp = [] for _ in range (n): sp.append ( int ( input ())) how to check if all the numbers are the same in this list?
No answers yet.
Log in to leave an answer
Blogs