human
Concatenate suffixes of a String | Function to print the expansion of the string.
Take sub - string from i to n - 1.
Print the sub - string.
Driver code"
Solution in Python:
 ... Write me a code to concatenate suffixes of a String and the other steps required?
assistant
#Here is code to concatenate suffixes of a String and the other steps required.
 def printExpansion ( str ) :
	suff = " "
	for i in range ( len ( str ) - 1 , - 1 , - 1 ) :
		suff = suff + str [ i ]
		print ( suff , end = " " )
if __name__ == " _ _ main _ _ " :
	str = " geeks "
	printExpansion ( str )