human
Give me a code to split numeric , alphabetic and special symbols from a String and the other steps required given the following:
Split numeric , alphabetic and special symbols from a String | Python 3 program to split an alphanumeric string using STL.
Driver code"
Solution in Python:
assistant
#Here is code to split numeric , alphabetic and special symbols from a String and the other steps required.
 def splitString ( str ) :
	alpha = " "
	num = " "
	special = " "
	for i in range ( len ( str ) ) :
		if ( str [ i ] . isdigit ( ) ) :
			num = num + str [ i ]
		elif ( ( str [ i ] >= ' A ' and str [ i ] <= ' Z ' ) or ( str [ i ] >= ' a ' and str [ i ] <= ' z ' ) ) :
			alpha += str [ i ]
		else :
			special += str [ i ]
	print ( alpha )
	print ( num )
	print ( special )
if __name__ == " _ _ main _ _ " :
	str = " geeks01 $ $ for02geeks03 ! @ ! ! "
	splitString ( str )