GIAC
GPYC · Question #15
What is the output of the following command typed in Python interactive mode? >>> print("and" in "And now for something completely different")
The correct answer is C. False. You've hit your limit · resets 1pm (America/New_York)
Python Fundamentals & Command Line Tools
Question
What is the output of the following command typed in Python interactive mode?
print("and" in "And now for something completely different")
Options
- ASyntaxError: invalid syntax
- BTrue
- CFalse
How the community answered
(51 responses)- A8% (4)
- B4% (2)
- C88% (45)
Explanation
You've hit your limit · resets 1pm (America/New_York)
Topics
#string membership#case sensitivity#in operator#substring search
Community Discussion
No community discussion yet for this question.