#try to avoid input function a = (1,1,1,1,1,1,1) b = (1,1,1,2,3) for i in range(1): for j in range(len(a)): if a[i] != a[j]:## change a to b break else: print("all elements are Equal")
Click the run button. Try to avoid input() function.