Quiz App
Decks
Folders
Edit Question
Back
Prompt
Question type
multiple_choice
short_answer
Accepted answer
Preview
#; (define (fn-for-status s) (cond [(and (string? s) (string=? s "closed")) (...)] [(and (integer? s) (<= 1 s) (<= s 10)) (... s)])) A simpler first branch such as (string=? s "closed") is also acceptable if it is guaranteed to be reached only for strings.
Optional reference answer for graders — supports Markdown. Free-text answers are never auto-graded.