Tag: python solution with dictionary