I need to write a program that uses the following function
def pascnext( L ): currentrow =  if len( L ) == 0: return  if len( L ) == 1 and L[ 0 ] == 1: return [ 1, 1 ] else: currentrow += [ 1 ] for i in range( 0, len( L ) - 1 ): currentrow += [ L[ i ] + L[ i + 1 ] ] currentrow += [ 1 ] return currentrow
I need to write another function pascrow(n) where n is a row number in the triangle and returns what that row is in a list. I need pascrow(n) to use the pascnext function though to find it. Any suggestions or help is appreciated!