DEV Community

ameera-abed
ameera-abed

Posted on

Answer: Python 3.5 iterate through a list of dictionaries

use=[{'id': 29207858, 'isbn': '1632168146', 'isbn13': '9781632168146', 'ratings_count': 0}]
for dic in use:
    for val,cal in dic.items():
        print(f'{val} is {cal}')

Top comments (0)