-
What is Code?
-
Data
-
Input
-
Functions
-
Boolean logic and decisions
-
Loops
-
Modules
-
Examples
-
Exercises
Login With Password
Write a program to check a password.
Store the password in the code as a variable.
Then, get a password guess from the user from the with an input
instruction.
Check if the guessed password is the same as the stored password.
If it's the same, print
a greeting.
If it's not the same, print a warning and exit.