Kevin Tiller

Generation

code to explanationSat, 22 Apr 2023

1st = [1,2,3,4,5] print(1st[-5,-3])

1st is the list [(1,2,3,4,5)] [-5,-3] means it will print the last 5th to last 3rd value [3,4]

Want to kickstart your project?Use the new AI Studio to create your code