Exercise 6 · Chapter: ConditionsRequired+50 XP
Fix the Comparison
This program uses = instead of == for comparison. Fix it!
Example input: secret
Expected output: Correct!
Need a hint?
3 available · costs 5 XP each
python
password = input()
if password = "secret":
print("Correct!")
else:
print("Wrong!")
Output
Run your code to see the output here.