human
Program to calculate Percentile of a student based on rank | Program to calculate the percentile.
flat variable to store the result.
calculate and return the percentile.
Driver Code"
Solution in Python:

Give me a code to program to calculate Percentile of a student based on rank and the other steps required?
assistant
#Here is code to program to calculate Percentile of a student based on rank and the other steps required.
 def getPercentile ( rank , students ) :
	result = ( students - rank ) / students * 100 ;
	return result ;
if __name__ == " _ _ main _ _ " :
	your_rank = 805 ;
	total_students = 97481 ;
	print ( getPercentile ( your_rank , total_students ) ) ;