Level 4 - Power Of Functions

Tasks

1. Using move_up, move_down, move_right, move_left; define a function "movement(i). "
so that when we call this function as movement(1) then movement(2) and then movement(3); warrior reaches other end! 2. You should follow the name of function strictly and you do not need to write anything apart from this function to complete the challenge

Rules

1. You should not use more than 10 lines for your code. so try using loops.

Animation Speed




LOGGER