A: You said you got yourself a coach and started swimming last month. Can you swim now?
B: Yes. After two weeks of training, I got the hang of swimming freestyle.
Note: This idiom means “to learn the skills that are needed to do something.” A colloquial saying since the mid-1800s, it is said to have originated from the cruel practice of executing people by hanging. When a person is hung, the moment after the drop when the rope snaps tight, either it breaks the person’s neck or it doesn’t, resulting in immediate death or a longer painful time before death. An experienced executioner who had mastered the difference and could do either was said to have “gotten the hang of it.”