import pygame import sys pygame.init() display = pygame.display.set_mode ((400, 300)) class TextInput(pygame)