<reponame>Python-Project-Cheap-Empire/cheap-of-empire<gh_stars>0
import pygame


def text(screen, text, size, colour, pos):
    font = pygame.font.SysFont(None, size)
    text_surface = font.render(text, True, colour)
    text_rext = text_surface.get_rect(topleft=pos)
    screen.blit(text_surface, text_rext)

import pygame


def text(screen, text, size, colour, pos):
    font = pygame.font.SysFont(None, size)
    text_surface = font.render(text, True, colour)
    text_rext = text_surface.get_rect(topleft=pos)
    screen.blit(text_surface, text_rext)