Write a program to print the workers' information (Name age, salary) in records format. PYTHON ONLY
Answers
Answered by
1
Explanation:
Employees = {‘Rohan’ : {‘age’ : 20, ‘salary’ : 10000}, ‘Mohan’ : {‘age’ : 30, ‘salary’ : 15000}} for key in Employees : print “Employee”, key + ‘:’ print ‘Age :’ + str (Employees [key] [‘age’] print ‘Salary :’ + str (Employees [key] [‘salary’])
mark as brilliant answer
Answered by
0
Answer:
Explanation:Employees = {‘biju’ : {‘age’ : 20, ‘salary’ : 10000}, ‘Mohan’ : {‘age’ : 30, ‘salary’ : 15000}} for key in Employees : print “Employee”, key + ‘:’ print ‘Age :’ + str (Employees [key] [‘age’] print ‘Salary :’ + str (Employees [key] [‘salary’])
mark as brilliant answer
Similar questions