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