# To get the last 2 elements in a list you use -2: as position bikes = ['trek', 'redline', 'giant'] bikes = bikes[-2:] # Output: # ['redline', 'giant']