(question_list: List[str], with_answer: bool = False)
| 57 | |
| 58 | |
| 59 | def get_random_question(question_list: List[str], with_answer: bool = False) -> str: |
| 60 | if with_answer: |
| 61 | return choice(get_answered_questions(get_file_content())) |
| 62 | return choice(get_question_list(get_file_content())) |
| 63 | |
| 64 | |
| 65 | """Use this question_list. Unless you have already opened/worked/need the file, then don't or |
nothing calls this directly
no test coverage detected