pandas is conventionally imported as pd. As a warm-up, return a DataFrame built from the dictionary data.
pd
data
Input
{'a': [1, 2], 'b': [3, 4]}
Output
a b 0 1 3 1 2 4
Sign in to write and run your own code.
solve(...)