Iterate Through Dictionary Python || for loop || Python
In this we are going to see a basic program on how to iterate through dictionary using for loop in Python Programming Language.


Employee = {
    'Id': 1,
    'Name': "SomeName",
    'Salary': 12345.67
}

for key, value in Employee.items():
    print(key + " : " + str(value))

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post