Retrieve the answers from a test on usual answersheet

Basic Example

The following example demonstrate some of the available functionality for read_answer_sheet

SAT - 2023

A

B

C

D

E

1

2

3

4

5

Function signature

def (label: str, options: list, number_of_questions: int, **kwargs):

Positional parameters

label (str)
The label to display to the user
options (list)
The options which can be chosen as an answer
number_of_questions (int)
Number of questions the answersheet will cover

Keyword Arguments

disabled (bool)
whether the input is disabled. Defaults to False.
required (Union[bool, str])
Whether the input is required or not eg. "this field is required". Defaults to True.
hint (str)
A tooltip displayed to the user. Defaults to None.
end_program (bool)
Whether the program should end after the widget is shown. Defaults to False.
full_width (bool)
Whether the input should use full screen width. Defaults to False.
button_text (str)
What text to display on the button when the widget is not part of a Page. Defaults to 'Next'.

Returns

()list: The values/value selected by the user