Computer Science, asked by priyanshukurrey, 2 months ago

A Dictionary contains details of two workers with their names as keys and other details in the form of dictionary as values. Write a program to print the workers' information in records format.​

Answers

Answered by allysia
2

Answer:

Here you go (consider image if latex not visible properly):

\\\tt D1 = {'a': ['info 1'],'b': ['info 2'], 'c': ['info 3'], 'd': ['info 4'], 'e': ['info 5']}  \\\tt print("Na me", ' /t/t', "Deatils") \\\tt for\ i\ in\ D1: \\\tt {\qquad print(i, '/t/t', D1[i])}

Attachments:
Similar questions