Creating a nested dictionary in a for loop

welcome to shbcf.ru