1000 Python Questions
Get 1 Python question daily. Join this telegram channel https://t.me/python1000questions
Advertise with us

Python Multiple Choice Questions
Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation ?
A. print(list1[0])
B. print(list1[:2])
C. print(list1[:-2])
D. all of the mentioned
Show Answer

SUBSCRIBE
Please subscribe to get the latest articles in your mailbox.




SUBSCRIBE
Please subscribe to get the latest articles in your mailbox.

© 2017-2020 Python Circle   Contact   Sponsor   Archive   Sitemap