Created
December 8, 2018 17:43
-
-
Save tedysaputro/7b33abbc3c276b73e7abc9e89fd4105f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| robot_x = 0.1 | |
| robot_y = 0.1 | |
| while(robot_x<2 and robot_y<2): | |
| robot_x +=0.1 | |
| robot_y +=0.1 | |
| print "Current position ",robot_x, robot_y | |
| print "Reached destination" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment