Lists in Python - Activity#3
Help
What is the output of the following list assignment?
False
Write the Python code that can sort list numbers = [1, 4, 2, 6, 3 ]
numbers.sort()
Using the slicing concept, write the line of code that would display elements [4, 5, 6] only.
numbers[3:6]
Unlock this slideshow and over 4 million more with Baamboozle+
Try slideshows
Your experience on this site will be improved by allowing cookies.
Allow cookies