I want to name an object "Nov2019" and I am trying the following:
Month = "Nov"
Year = "2019"
Year + Month = [100, 90, 80]
I want to have a list containing three integers which is named "Nov2019" by concatenation. Is it possible?
You can use exec method. A variable name can't start by a number, so a way to do that is invert the Month with Year. You can either put in a dictionary, but this approach is more aproximate to your question.
Month = "Nov"
Year = "2019"
exec(Month + Year + '= [100, 90, 80]')
print(Nov2019)
#[100,90,80]