human
Fibonacci Word | Returns n - th Fibonacci word.
driver program"
How can the above be solved in Python?
assistant
#Here is code to fibonacci Word and the other steps required.
 def fibWord ( n ) :
	Sn_1 = "0"
	Sn = "01"
	tmp = " "
	for i in range ( 2 , n + 1 ) :
		tmp = Sn
		Sn += Sn_1
		Sn_1 = tmp
	return Sn
n = 6
print ( fibWord ( n ) )