Session Ready
Exercise

Four known values

Suppose that you pick up an iPhone with four smudge marks on it, at the locations of 3, 4, 5 and 9.

The actual value of the passcode has been preloaded as a variable called passcode.

Instructions
100 XP
  • Store the known values into the variable called values.
  • Create the guess using those four values.
  • Fill in the condition to check whether the guess is correct or not.