from statistics import mode
theList = [1, 2, 2, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 6]
print("\n{:19s}{:>3d} {}".format("The int list has:", len(theList), "elements..."))
print("{:19s}{:>3d} {}".format("Mode is:", mode(theList), "(mode = most frequent item)")
theList = ["Dog", "Cat", "Spider", "Snake", "Dog", "Dog", "Bear"]
print("\n{:19s}{:>3d} {}".format("Animal's list has:", len(theList), "elements..."))
print("{:16s}{:>6s} {}".format("Mode is:", mode(theList), "(mode = most frequent item)"))