hello, i have the following error when i call this function: 20 def outOfBounds(): ---> 21 if abs(turtle.position()[0]) > turtle.window_height()/2 or abs(turtle.position()[1]) > turtle.window_width()/2: 22 return "true" 23 else:
TypeError: 'function' object is unsubscriptable but i can't really figure out where is the problem with this function 'unsubscriptable'; i know it may be something regarding turtle.position returning a list can you help me with some hint ? thank you -- roberto _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor