How to save information in a nested dictionary using forloops

welcome to shbcf.ru