yes
months = range(1, 13)
if it’s python3 then:
months = list(range(1,13))
solved Append a range of numbers in a List in Python, as 1 Line of Code
yes
months = range(1, 13)
if it’s python3 then:
months = list(range(1,13))
solved Append a range of numbers in a List in Python, as 1 Line of Code