Question: create a code in python we are giving a Dictionary call UserDic = {'carlos':12 , 'john' : 13} we have to ask the user to
create a code in python
we are giving a Dictionary call UserDic = {'carlos':12 , 'john' : 13} we have to ask the user to input new people name and hours work , for this names variable is Uname and for hours is Uhours. user would input many users he wants until he stops the program. every enter he makes should appear in the first of the list. for example if he enters Mark : 10 and then we has prompt if he want to add more he enters another person Jony : 13 the new list should be
{'jony' : 13 , 'Mark':10,carlos':12 , 'john' : 13}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
