Multi-line responses to multichoice question MOODLE

Hi there,

I'm new to H5P but interested in what can be done with it.  

I have a Python programming unit to teach and was wondering if I can have multi-line answers for multiple choice questions?

For example I want to have this as the output to the following question "Which option is an example of a nested function":

    str_var = 'this is a test string'      print(str_var.upper()) The result is all the text on one line.   I could do it as a set of images but then the students can't copy and paste the code to try it out.   Any discussion or pointers would be very useful.   Kind Regards Rachel