A
Q. What is the output of the following code?
Code:
x = [1, 2, 3, 4, 5]
print(x[-3:])
print(x[-3:])
- Correct Answer - Option(A)
- Views: 27
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.