Problem 1 (100pts): choose
Implement choose, which selects which paragraph the user will type. It takes a list of paragraphs (strings), a select function that returns True for paragraphs that can be selected, and a non-negative index k. The choose function return's the kth paragraph for which select returns True. If no such paragraph exists (because k is too large), then choose returns the empty string.
Index starts from 0.
After you finish the problem, you can test it with:
# Test your implementation
python ok -q 01