Why is this not an acceptable solution?


#1

Output is the same but it does it in just one line.

for key in prices:
print "%s \n price : %s \n stock : %s \n" % (key, prices[key], stock[key])


#2

try to print all separately