"Request solution S01 E07: The aisle"

Hello or Good evening,

I was stuck during S01 E07: The beam on Amazon Future Engineer and I can't solve it.

Can you help me?

Thank you for responding as soon as possible.

2 answers

  1. Moderator

    Hello

    Does this video solve your problem? If not, please clarify your message (statement, question, response you are at, etc.)

    Good luck

    1. Solution S01 E07 The ray:

      from robot import *
      for loop in range(8):
          right()
          for loop in range(4):
              pick()
              if carryingBrick() == 1:
                  left()
                  drop()
                  right()
              else:
                  right()
                  drop()
                  left()
          for loop in range(2):
              left()
              pick()
              right()
              drop()
          for loop in range(2):
              right()
              pick()
              left()
              drop()