Skip to content

A repository containing first python (practice) project.

Notifications You must be signed in to change notification settings

SarthakMakhija/robot-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robot-simulation

A repository containing first python (practice) project

Problem definition

A Robot is placed at an initial location in a hypothetical infinite grid. It is capable of moving in specific directions and letting you know its position. Here are the things that it can do -

  • It can receive some directions to move in the grid
    • Directions could be LEFT / RIGHT / UP / DOWN. A sample direction input is LLRRUUD
  • On receiving a direction, it changes its position
  • It can also move in just one direction, Left Or Right or Up or Down
  • It lets you ask its final position in (x,y) format

Pairing by

Run tests

python3 -m unittest discover -s tests/

About

A repository containing first python (practice) project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages