O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
emp_dic = { } while True : name = input("Enter employee name : ") sal = int(input("Enter employee salary : ")) emp_dic[ name] = sal choice = input("Do you want to Enter another record Press 'y' if yes : ") if choice != "y" : break print(emp_dic)
▶ Run Code
🖥 Output: