Which of the following exceptions occurs while importing a module?
Correct Answer: ImportError
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Python Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Python MCQ Questions
Which statement can be used to remove an item from a list by giving the index?
The least sophisticated form of text output in Python is writing to open files. In particular, which of the following streams can be used?
Which option is true regarding these two code samples? Code sample 1: def main(): for i in xrange(10**8): pass main() Code sample 2: for i in xrange(10**8): pass
How many arguments can a print statement handle?
When is the 'yield' keyword used in Python?
Which data types is not supported in python ?
If x = '10' (as a string), which of the following is the correct way to typecast it to an integer?
Which statement is true regarding the __all__ module level variable?
Which statement is true regarding lists and arrays in Python?
Which statement is/are correct about range() and xrange()?