Enemy skills?

Does anyone here has an idea of making an enemy have different attack or skills? Like its not going to attack you with one animation.

I would use the Python random module.

A function in it lets you choose a random integer in a set range. Each integer could correspond to an attack.

Or if you wanted to make your script complicated, it could do a different attack based on different conditions, so it would use the best attack in the best situation.

Sample? I dont know the command for animation. But dont worry, I made a script before and it works.

how about a setup?