<s> """<STR_LIT>""" <EOL> __author__ = '<STR_LIT>' <EOL> class Solution : <EOL> def getRow ( self , rowIndex ) : <EOL> """<STR_LIT>""" <EOL> if rowIndex < <NUM_LIT:0> : <EOL> return None <EOL> if rowIndex == <NUM_LIT:0> : <EOL> return [ <NUM_LIT:1> ] <EOL> current_level = [ <NUM_LIT:1> , <NUM_LIT:1> ] <EOL> for row in xrange ( <NUM_LIT:2> , rowIndex + <NUM_LIT:1> ) : <EOL> temp = current_level [ <NUM_LIT:0> ] <EOL> for col in xrange ( <NUM_LIT:1> , row ) : <EOL> summation = current_level [ col ] + temp <EOL> temp = current_level [ col ] <EOL> current_level [ col ] = summation <EOL> current_level . append ( <NUM_LIT:1> ) <EOL> return current_level <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> print Solution ( ) . getRow ( <NUM_LIT:3> ) </s>
