1.

Write the output of the given Python code.# !/user/bin/python listl = [‘physics’, ‘chemistry’, 1997,2000]; list2 = [1,2, 3,4,5, 6, 7]; print “list2[l:5[ :”, list2[l:5]

Answer»

list2[1:5[: [2,3,4,5]



Discussion

No Comment Found