The await command tells your robot:
“Wait until this action is finished, then continue!”

Why use "await"?
- Motors need time to move
- Sounds need time to play
- Sensors need time to read values
Without "await", the robot may move on too quickly and not finish its actions properly.
Important rule
You can only use "await" inside an "async" function.
async def main(): await motor.run_for_time(port.A, 1000, 1000)