Vidyalelo
Python · Q11

Python MCQs: Variable Names and Operators Chapter

Programming · Python · question 11

Q11

What is the result of "Hello" in "Hello, World!" ?

A.
True
Answer
B.
False
C.
None
D.
Error

Answer: Option A

Solution

Answer: Option A
Solution:
The in operator checks if the first string is a substring of the second string.