Kara läuft solange gerade aus, bis rechts und links von ihm ein Baum ist.
while not (kara.treeLeft() and kara.treeRight()): kara.move()