29

 name = "YourName"


swapped_case_dict = {char: char.swapcase() for char in name}

print(swapped_case_dict)


Comments