fruits = ['りんご', 'いちご', 'みかん','メロン',
          'なし', 'ぶどう', 'もも', 'バナナ']

print(fruits[1:5])
print(fruits[1:5:2])