I've got multiple lists:
list_1 = []
list_2 = []
list_3 = []
And I've got the following string, which depending on the circumstances will correspond to one of the lists above:
x = 'list_2'
How do I go about appending to the list by using the string? Is there any way I can do something along the lines of:
'value of x'.append("Whatever")