def block_comments_begin_with_a_space(physical_line, line_number):
 MESSAGE = "K002 block comments should start with '# '"
 if ((line_number == 1) and physical_line.startswith('#!')):
  return
 text = physical_line.strip()
 if text.startswith('#'):
  if ((len(text) > 1) and (not text[1].isspace())):
   return (physical_line.index('#'), MESSAGE)

def block_comments_begin_with_a_space ( physical_line , line_number ) : MESSAGE = "K002 block comments should start with '# '" if ( ( line_number == 1 ) and physical_line . startswith ( '#!' ) ) : return text = physical_line . strip ( ) if text . startswith ( '#' ) : if ( ( len ( text ) > 1 ) and ( not text [ 1 ] . isspace ( ) ) ) : return ( physical_line . index ( '#' ) , MESSAGE )
there should be a space after the # of block comments .