home
Learn
screen_rotation
num = [100, 200, 600, 400, 300, 250,1000,1100,900,800] print(num[:4]) print(num[:-4])
Program Output
[100, 200, 600, 400] [100, 200, 600, 400, 300, 250]