human
Put spaces between words starting with capital letters | Function to amend the sentence.
Traverse the string.
Convert to lowercase if its an uppercase character.
Print space before it if its an uppercase character.
Print the character.
if lowercase character then just print.
Driver Code"
Solution in Python:

Write me a code to put spaces between words starting with capital letters and the other steps required?
assistant
#Here is code to put spaces between words starting with capital letters and the other steps required.
 def amendSentence ( string ) :
	string = list ( string )
	for i in range ( len ( string ) ) :
		if string [ i ] >= ' A ' and string [ i ] <= ' Z ' :
			string [ i ] = chr ( ord ( string [ i ] ) + 32 )
			if i != 0 :
				print ( " ▁ " , end = " " )
			print ( string [ i ] , end = " " )
		else :
			print ( string [ i ] , end = " " )
if __name__ == " _ _ main _ _ " :
	string = " BruceWayneIsBatman "
	amendSentence ( string )