Computer Science, asked by tanisharohi, 2 months ago

What is printed by the following statement?
Print("X" not in “APCSP")​

Answers

Answered by anindyaadhikari13
1

Correct Códe:

  • print("X" not in "APCSP")

Output:

  • True

Explanation:

  • "X" in "APCSP" checks whether the string "X" is present in the given string or not. Its not present in the string. So, the result is False.
  • 'not' negates the condition and so, the condition becomes True.
  • Hence, the output is True.

•••♪

Attachments:
Similar questions