I have the following list

bar = ['a','b','c','x','y','z']

What I want to do is to assign 1st, 4th and 5th values of bar into v1,v2,v3 , is there a more compact way to do than this:

v1, v2, v3 = [bar[0], bar[3], bar[4]]

Because in Perl you can do something like this: