How to code auto in competition mode in VEX Python code?

Our team was wondering how to code a vex auto in the 15 seconds during auto control in competition matches?

someone please help
i have tried, but they have all failed
help

You can do autonomous using any of these methods, based on your coding language:

For VexCode Blocks:
image

Python:
image

C++:

competition Competition;
void Autonomous(){
  // Autonomous Code
}
int main(){
  Competition.autonomous(Autonomous)
}