Unsure how many values you want to unpack in #Python? Use * to get a list of flexible length:
x = [10, 20, 30, 40, 50]
a,b,c = x # error!
a,b,*c = x # c is [30, 40, 50]
a,*b,c = x # b is [20, 30, 40]
*a,b,c = x # a is [10, 20, 30]
Note: You can only have one * variable.
1