#NEWLINE# def translate_points( diff , points ) : #NEWLINE# #INDENT# 'Translate function takes 2 arguments the with which the points\n    are required to be translated and the points. The function\n    translates all the points to the new position and returns the new\n    points' #NEWLINE# points [ : ] = ( points + diff ) #NEWLINE# return points