import pygame from pygame.locals import * from sys import exit from random import randint pygame.init()