Podcast
Questions and Answers
What is the length of the list 'prime'?
What is the length of the list 'prime'?
- 10
- 9
- 7 (correct)
- 8
What is the result of the expression 'filename.lower().endswith(".pdf")'?
What is the result of the expression 'filename.lower().endswith(".pdf")'?
- True (correct)
- None
- False
- Error
What is the value of 'dotloc'?
What is the value of 'dotloc'?
- 8
- 7 (correct)
- 9
- 10
What is the result of 'len(filename)'?
What is the result of 'len(filename)'?
What is the output of the expression '"138"+s[5:]'?
What is the output of the expression '"138"+s[5:]'?
Flashcards are hidden until you start studying