Practice: Comparison Operators
Q21. Password check
Given saved = "Secret1" and typed = "secret1", print Access granted only if they are exactly equal, otherwise Access denied.
Goal: Use == in a login check.
Given saved = "Secret1" and typed = "secret1", print Access granted only if they are exactly equal, otherwise Access denied.
Goal: Use == in a login check.