human
Write me a code to remove all characters other than alphabets from string and the other steps required given the following:
Remove all characters other than alphabets from string | Function to remove special characters and store it in another variable.
Store only valid characters.
Driver code"
Solution in Python:
assistant
#Here is code to remove all characters other than alphabets from string and the other steps required.
 def removeSpecialCharacter ( s ) :
	t = " "
	for i in s :
		if ( i >= ' A ' and i <= ' Z ' ) or ( i >= ' a ' and i <= ' z ' ) :
			t += i
	print ( t )
s = " $ Gee * k ; s . . fo , ▁ r ' Ge ^ eks ? "
removeSpecialCharacter ( s )