multiplication_table(n) that returns a list of strings, one per line, representing the multiplication table of n from 1 to 10. Each line must have the exact format "n x i = result", e.g. "3 x 1 = 3".multiplication_table(2)[0:3]
["2 x 1 = 2", "2 x 2 = 4", "2 x 3 = 6"]
First three lines of the table for 2.
Loop `for i in range(1, 11):` and format each line with an f-string.
Append each formatted line to a results list.