human
Times required by Simple interest for the Principal to become Y times itself | Function to return the no . of years.
Driver code"
Solution in Python:
assistant
#Here is code to times required by Simple interest for the Principal to become Y times itself and the other steps required.
 def noOfYears ( t1 , n1 , t2 ) :
	years = ( t2 - 1 ) * n1 / ( t1 - 1 )
	return years
if __name__ == " _ _ main _ _ " :
	T1 , N1 , T2 = 3 , 5 , 6
	print ( noOfYears ( T1 , N1 , T2 ) )