'How to print specific range of values in a 1 dimensional array in Python?

Given the array below:

array= [1,2,3,4,5,6,7,8]

Using Python, how to print the 3rd to the 6th element of the array? ie:

3, 4, 5, 6


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source