import random import pygame from pynput import keyboard  n = 100 class MyClass: