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