πŸ“Š Python
Q. What is the output of this code?
Code:
print('a' in 'apple')
  • (A) True
  • (B) False
  • (C) Error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) True

Explanation: The `in` operator checks if substring is present.

Explanation by: Mr. Dubey
The `in` operator checks if substring is present.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate