def seconds_to_str(value):
 if (value < 60):
  return ('%s seconds' % value)
 elif (value < 3600):
  return ('%s minutes' % (value / 60))
 else:
  return ('%s hours and %s minutes' % ((value / 3600), ((value % 3600) / 60)))

def seconds_to_str ( value ) : if ( value < 60 ) : return ( '%s seconds' % value ) elif ( value < 3600 ) : return ( '%s minutes' % ( value / 60 ) ) else : return ( '%s hours and %s minutes' % ( ( value / 3600 ) , ( ( value % 3600 ) / 60 ) ) )
convert seconds to a simple simple string describing the amount of time .