punishing someone for an action that did not used to be a crime is an example of\nan ex post facto…

punishing someone for an action that did not used to be a crime is an example of\nan ex post facto law.\nhabeas corpus.\na “necessary and proper” law.\na bill of attainder.
Answer
Brief Explanations:
An ex post facto law punishes actions that were not crimes when committed. Habeas corpus is about the right to challenge unlawful detention. A "necessary and proper" law is related to Congress's powers. A bill of attainder is a legislative act that punishes a person or group without a judicial trial.
Answer:
A. an ex post facto law