Skip to content

Commit 37a03e3

Browse files
committed
Wrote docstring for get_security_questions_and_answers
1 parent c69d222 commit 37a03e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Application/Casino/Casino.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ def get_security_question(self, possible_questions) -> str:
319319
return possible_questions[answer]
320320

321321
def get_security_questions_and_answers(self) -> list[str]:
322+
"""
323+
Guides the user through selecting and answering two security questions.
324+
325+
:return: A list containing two questions and their corresponding answers.
326+
"""
322327

323328
possible_questions: list[str] = [
324329
"What is your favorite sports team?",

0 commit comments

Comments
 (0)