# data[].attributes.body
If home button pressed turn on

Else don’t turn on

If home button pressed open lock screen

Else don’t go

If buttons pressed are 1234 unlock

Else don’t unlock

# data[].attributes.body
if power button pressed turn on

if home button
pressed go to
unlock
code screen

else don’t go to

if  password:
1234 then
unlock

else display:
Try again

else:  Stay off

# data[].attributes.headline
if	  																				                   home button pressed display password screen											      if  password entered is 2856 display home scrren	else print  password is incorect

# data[].attributes.subject
if	  																				                   home button pressed display password screen											      if  password entered is 2856 display home scrren	else print  password is incorect

# data[].attributes.body
If home button is pressed

Turn screen on

Print “enter password”

If password = 9876

Print “welcome”

Else

Print “wrong password”

Else stay off

# data[].attributes.body
If button pressed

Display lock screen

Print enter password

Password = input

If input = 1234

Print unlocked

If incorrect print incorrect

Else stay locked

# data[].attributes.body
if home button pressed
show lock screen

print Enter Password

password = input

if password correct
print Welcome

else
print Wrong Password

else stay off

# data[].attributes.body
If button pressed then turn the screen on.

Show lock screen

Print enter pin

If pin = 1984

Display home screen

Else print try again

Lock phone for 5 minutes

# data[].attributes.body
if home button pressed
show lock screen

print Enter Password

password = input

if password correct
print Welcome

else
print Wrong Password

else stay off

# data[].attributes.headline
If button pressed to turn on phoneElse if screen on do password if have oneIf code wrong print retryIf right it’s on 

# data[].attributes.subject
If button pressed to turn on phoneElse if screen on do password if have oneIf code wrong print retryIf right it’s on 

# data[].attributes.body
if home button pressed
show lock screen

print Enter Password

password = input

if password correct
print Welcome

else
print Wrong Password

else stay off

# data[].attributes.headline
If button pressed Show lock screen Print passcode Enter passcode If correct Unlock phone If incorrect Display incorrect passcode  Katie 

# data[].attributes.subject
If button pressed Show lock screen Print passcode Enter passcode If correct Unlock phone If incorrect Display incorrect passcode  Katie 

# data[].attributes.body
If button (home) pressed turn on

Else don’t turn on

If home button pressed open lock screen

Else don’t go

If pass-code 4723 then unlock

Else leave locked

# data[].attributes.headline
If button pressed turn screen on Else don’t If home button press allow to go to lock screen Else don’t If correct code put in print welcome and unlock phoneElse print wrong password and remain locked

# data[].attributes.subject
If button pressed turn screen on Else don’t If home button press allow to go to lock screen Else don’t If correct code put in print welcome and unlock phoneElse print wrong password and remain locked

# data[].attributes.body
If button pressed

Display lock screen

Print password

Password = input

If password is correct

Print you’re in

Else

Print wrong password try again

Else

print password 3 more times

if incorrect disable phone for 5 minuets

# data[].attributes.headline
if	  																				                   home button pressed display password screen											      if  password entered is 2856 display home scrren	else print  password is incorect

# data[].attributes.subject
if	  																				                   home button pressed display password screen											      if  password entered is 2856 display home scrren	else print  password is incorect

# data[].attributes.body
If home button pressed turn on

Else don’t turn on

If home button pressed open lock screen

Else leave on original screen

If buttons pressed are 7362 turn on

Else leave on that screen

Print: Try again

Elif attempted 5 times print: Disabled phone

# data[].attributes.body
If button pressed screen turns on

Else don’t turn on

If home button pressed go to lock screen

Else don’t turn on

If correct code print unlock

Else if cod wrong say locked

# data[].attributes.body
If home button pressed turn lock screen on

Password = int (input (“Enter password :”)

If password >= pizza123:

Print (“Password correct”)

And open home screen

Else:

Print (“Password incorrect”)

Else stay off

# data[].attributes.body
If home button pressed

Show lock screen

Input=0987

Print enter password

Password=input

If password correct

Print welcome

Else stay locked

Else stay off

# data[].attributes.headline
If button pressed                   Turn phone on                    Ask to enter code                   If code is correct    unlock phone and display home screenElse                  Stay the same      Freya Lewis and Amy Stubbs

# data[].attributes.subject
If button pressed                   Turn phone on                    Ask to enter code                   If code is correct    unlock phone and display home screenElse                  Stay the same      Freya Lewis and Amy Stubbs

# data[].attributes.body
#HatSize

if head <=57cm
display "You will need a smaller sized hat to fit"
else head >= 60cm
display "You will need a bigger sized hat to fit"

else "you will need a medium sized hat to fit"

# data[].attributes.body
#HatSize

if head <= 57cm
display "You need a small sized hat"

elif head >= 60cm
display "You need a large sized hat"

else
display "You need a medium sized hat"

# data[].attributes.body
print Head size

headsize = int(input("Input"))

if headsize > 60
print Your head is Large

elif headsize > 57
print Your head is Mediumn size

else
print Your head is small size

# data[].attributes.body
If less than 57cm

Print small

If greater than 60cm

Print large

Else

print medium

# data[].attributes.body
If head is <57

print(“small head”)

elif head >60

print(“big head”)

else print(“medium")

# data[].attributes.body
#headsize
if head<=57cm
print 'head=small'
if head>=60cm
print 'head=large'
else
print 'head=mediam'

# data[].attributes.body
If head circumference is = 57cm then the head is small

Else = between 57,60cm then the head is medium

If head is = 60cm then its large

# data[].attributes.body
#headsizes

print "What is your head size?"

if headsize <=57

display "small"

elif headsize > 60

display "large"

else

display "medium"

# data[].attributes.body
#headsize
print("what size is your head?")
head = int(input("please insert the size of your head in CM")
if head >= 60
print ("large")
elif: head >= 58
print ("medium")
else: print ("small")

# data[].attributes.body
If head less than 57cm = small

If head greater than 60cm = large

Else

Anything else  = Medium

# data[].attributes.body
#DUDLEY

if head <= 57cm

display "You need a small sized hat"

elif head >= 60cm

display "You need a large sized hat"

else

display "You need a medium sized hat"

# data[].attributes.body
#dudleyheads
if head <= 57cm
print "head is small size"

elif head >= 60cm
print "head is large size "

else print "head is medium size"

# data[].attributes.body
If head less than 57cm =small

If head more than 57cm=big

# data[].attributes.body
#UnlockMobliePhone

if phone isnt on press the home button
if phone locked display "input pin"
else go to the home screen

if pin entered = 694271 go to the home page
else shake pin page and remain display "incorrect pin"

# data[].attributes.body
If unlock button is pressed

display screen

Else stay turned off

If home button is pressed

print (“enter passcode”)

Else display lock screen

If passcode is 1234

unlock

else

print(“try again”)

# data[].attributes.body
If home button pressed

Show lock screen

Print (“enter password”)

If password = 1837

Print (“locked”)

Else

Print (“try again”)
Else display lock screen

# data[].attributes.body
#password
if unlock button pressed then
display PIN unlock screen
input PIN
if correct PIN entered then
unlock phone
else display "Try Again"
else display Lock Screen

# data[].attributes.body
If home button pressed then turn phone on to lock screen

Else fingerprint doesn’t match then “Try Again”

If fingerprint matches then go to home screen

# data[].attributes.body
#password
if homebutton pressed
print ("enter password")
else
stay off
password = str(input)
if password = 12gh4r4
print ("phone unlocked")
else
print ("wrong password")

# data[].attributes.body
#password
if unlock button pressed
print ("enter password")
else
display lock screen
password = str(input)
if password = 1a2b3c
print ("phone Unlocked")
else
print ("wrong password. You will be locked out after 9 more tries")
display lock screen

# data[].attributes.body
i made two :)

Pizza slice game

If slice of pizza gets taken -1 slice

If no pizza left 0

Display game over

Else

Stop eating pizza

Mobile phone

If phone turned on show screen

If turned of

Display black screen

Else

Keep screen on

# data[].attributes.body
#UnlockMobilePhone
if home button pressed turn on display
elif phone locked display "input pin"
else go to homepage

if pin = 1234
print "welcome to homepage"

elif pin attempted 5 times print "phone disabled"

else print "wrong pin" and remain locked

# data[].attributes.body
if home button pressed then
display lock screen
if unlock button is pressed then
display enter password screen
entered password = int(input) "Enter your passsword "
if entered password = 6538 then
dispaly home screen
else
print "Wrong password"

# data[].attributes.body
#unlockmobilephone
if home button pressed turn on display
if phone is locked 'input pin'
else go to home page

if pin=1961
print 'welcome to homepage'

# data[].attributes.body
if home button pressed
show lock screen

print Enter Password

password = input

if password correct
print Welcome

else
print Wrong Password

else stay off

# data[].attributes.body
If home button pressed

Show pin screen

Print (“enter password”)

If password = 1837

Print (“unlocked”)

Else

Print (“try again”)

Else display lock screen

# data[].attributes.body
#UnlockMobilePhone

if home button pressed then
turn on phone

if Phone locked

display "input PIN"

else Go straight to home page

if PIN entered = 123456 go straight to home page

else shake pin page then
remain locked

display "incorrect pin"