# counting total number of files and their extention type
file_counts = {"jpg":10, "txt":14, "csv":2, "py":23}
for extension in file_counts:
    print(extension)


for ext, amount in file_counts.items():
    print("There are {} files with the .{} extenson" .format(amount, ext))
