Hello, I’m working on this task:
Write a program that reads the user’s name. If, and only if, it is “Ritchie”, output to the console “Access granted”.
Here is my code:
name = input("Enter your name:")
if name == "Ritchie":
print("Access granted")
Can anyone please help me to solve it?