human
Write a function to toggle the case of all characters in a string. Here is a solution in Python: Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
 def toggle_string(string):
 string1 = string.swapcase()
 return string1