how to make a background image fit the screen oygame code example
Example: transform size of picture pygame
import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))
import pygame
picture = pygame.image.load(filename)
picture = pygame.transform.scale(picture, (1280, 720))