Course Content
Data Science Interview Challenge
Data Science Interview Challenge
Theoretical Questions
1. What is the output of the following code?
2. In which of the following scenarios would you use the pass
statement?
3. What is the output of the following code?
4. Which function is used to read input from the user in Python 3?
5. How can you get the length of the list a
?
6. What will the code display?
7. Which of the following is NOT a valid variable name in Python?
8. Which of the following will raise an exception?
9. What will the following code return?
10. Which of the following methods will NOT alter the original list but will return a new sorted list?
Thanks for your feedback!