3 Questions
Which of the following is NOT a built-in data type in Python?
array
What is the output of the following code snippet?
a = [1, 2, 3] print(a[3:])
[]
What is the difference between 'range' and 'xrange' in Python 2?
'range' returns a list and 'xrange' returns an iterator
Test your knowledge of Python with this quiz! Challenge yourself by answering questions about Python's built-in data types and understanding of range and xrange functions. Sharpen your skills in Python programming and see how much you know about this popular language.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free