repl.it
@aaku/

Robotics

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#Challenge 1
total = 0
def forward(total):
  mrp(0,100,10)
  mrp(3,100,10)
  total += 10

def backward(total):
  mrp(0,-100,total)
  mrp(3,-100,total)

while True:
  if analog(0) == 2:
    break
  else:
    forward(total)
backward(total)

#Challenge 2
Fetching token
?