how to print function-returned values in python : I have the following function:

     import pandas as pd
        def foo():
            d1 = {'data1': ['A', 'B', 'C']}
            d2 = {'data2':  [20, 30, 40]}
            df1 = pd.DataFrame(d1)
            df2 = pd.DataFrame(d2)
            return df1, df2
    df1, df2 = foo()

I am trying to get the following:

    Results for df1:

       data1
	    A
	    B
	    C

    Results for df2:

        data2
        20
        30
        40

I tried some code below but didn't get me what I want (shows index, datatype and not very well aligned):

    c = {'results for df1': df1,
         'results for df2': df2
        }
    for a, b in c.items():
        print(a, b)