Python Assign Method To Variable Speed