Repository navigation
Multiple variables in For loop #28
Unanswered
Srinivascnu-89
asked this question in
Q&A
Replies: 1 comment
|
Yes. To unpack the key, values from the dictionary we can use, In for loop it should contain dict.items(). def employee_check(work_hours): work_hours = {'Employee1': 40, 'Employee2': 50, 'Employee3': 100, 'Employee4': 120} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Need understanding on below ,Where for loop has 2 checks/variables
def employee_check(work_hours):
All reactions