Start learning →
Home › Olympiad (Class 10) › Computer Science › Booleans and Decisions › A login screen checks whether user equals admin.…

A login screen checks whether user equals admin. The comparison returns:

AOpen or Shut
BTrue or False
CText or Digit
DName or Email
Answer & Solution
Correct answer: B. True or False
1. Comparison operators test a relationship. 2. The answer is always one of two values. 3. So it returns True or False. _Source: OpenStax Introduction to Python Programming, Chapter 4._
Practise this question with Quill — Olympiad (Class 10) →
Related questions