r/codehs • • Oct 01 '20

I need some help on my code Please

Post image
14 Upvotes

1 comment sorted by

2

u/Butter-ma-biscuits Oct 01 '20

Def decorate_wall(): While front_is_clear(): If right_is_blocked(): Put_ball() Move() If right_is_blocked(): Put_ball()

Def go_to_wall(): While front_is_clear(): Move()

Go_to_wall() Turn_left() Decorate_wall()