Answer:
def random_marks(apostrophe, quotation, apostrophe_quotation):
return "'"*apostrophe + "\""*quotation + "'\""*apostrophe_quotation
print(random_marks(3, 2, 3))
Explanation:
Create a function called random_marks that takes apostrophe, quotation, and apostrophe_quotation as parameters. Inside the function, return apostrophe sign times apostrophe plus quotation mark times quotation plus apostrophe sign quotation mark times apostrophe_quotation.
Note that plus sign (+) is used to concatenate strings. Also, if you multiply a string with a number, you get that number of strings ("#"*3 gives ###).
Then, call the function with given parameters and print