PAGE--79
VOCAB
- Procedure : procedures carry out commands .
KNOWLEGE POINTS
Define a procedure that displays a welcome to the user who has logged in.Here's an example for the entire program.
Example:
- def password ():
- Pass = input("Enter the password:")
- while Pass != "alevel-2022" :
- print("Wrong! Try again!")
- Pass = input("Enter the password:")
- def welcome ():
- print("|WELCOME|")
-
- password ()
- welcome()