def current_line_number():
 import inspect
 return inspect.currentframe().f_back.f_lineno

def current_line_number ( ) : import inspect return inspect . currentframe ( ) . f_back . f_lineno
returns the current line number in our program .