This commit is contained in:
2026-03-11 23:19:32 +00:00
commit 18ef09f8c0
5 changed files with 242 additions and 0 deletions

25
GuessMyPassword.py Normal file
View File

@@ -0,0 +1,25 @@
# module
import random
# variables
response1 = "hello"
response2 = "correct"
response3 = "are you james bond (its wrong)"
response4 = "i love pizza"
response5 = "nice to meat you"
response6 = "mind blank"
response7 = "shutting down"
MY_PASSWORD = "MY PASSWORD"
# function defenition
def is_correct(guess,password):
if guess == pasword:
guess_correct = True
else:
guess_correct = False
return guess_correct