Complete the code to capture the agent's perception from the environment.
perception = environment.[1]()The agent uses the sense() method to perceive or gather information from the environment.
Complete the code to let the agent reason and decide an action based on perception.
action = agent.[1](perception)The agent uses the decide() method to process perception and choose an action.
Fix the error in the code to perform the agent's action in the environment.
environment.[1](action)The agent uses the act() method to perform the chosen action in the environment.
Fill both blanks to complete the agent loop: perception and action.
perception = environment.[1]() action = agent.[2](perception)
The agent first senses the environment, then decides what action to take.
Fill all three blanks to complete the full agent loop: perception, reasoning, and action.
perception = environment.[1]() action = agent.[2](perception) environment.[3](action)
The agent senses the environment, decides an action, then acts on the environment.