Answer:
(S, FS, FFS, FFF)
Step-by-step explanation:
According to the Question,
So, the sample space for this random experiment is
{S, FS, FFS, FFF}
The person stops trying when he successfully enters the code or when he has failed at all 3 attempts .