Python: Writing multiple nested dictionaries in one table in a text file separated by tab
问题 I am new to Python and I am struggling with printing multiple nested dictionaries in one table separated by tab. I wrote a script to read data from an input file and store the data in 3 different dictionaries: d1 = {'Ben': {'Skill': 'true', 'Magic': 'false'}, 'Tom': {'Skill': 'true', 'Magic': 'true'}} d2 = {'Ben': {'Strength': 'wo_mana', 'Int': 'wi_mana', 'Speed': 'wo_mana'}, 'Tom': {'Int': 'wi_mana', 'Agility': 'wo_mana'}} d3 = {'Ben': {'Strength': '1.10', 'Int': '1.20', 'Speed': '1.50'},