install pygame on mac

C++
pip install pygamepython3 -m pip install -U pygame==2.0.0.dev6# Type this in the Command Prompt (For Windows) : pip install pygame
# Then head on to your text editor and type :

import pygame
Source

Also in C++: