The program should fully cover the screen with the background image. instead, it says that it is a type error.
screen = pygame.display.set_mode(size)
TypeError: argument 1 must be a sequence of length 2, not 1
import pygame
pygame.init()
size = [600.450]
screen = pygame.display.set_mode(size)
pygame.display.set_caption("yy")
done = False
clock = pygame.time.Clock()
background = pygame.image.load('calmingBG.jpg').convert()
while not done:
for event in pygame.event.get():
if event.type == pygame.QUIT:
done = True
screen.blit(background,[0,0])
pygame.display.flip()
clock.tick(60)
pygame.quit()