I have found a method but the method was pretty long. This is the line that I want to turn into an integer. cards = [i for i in range(1, 12)]