Computer Science, asked by PranitaKumari, 6 months ago

What code will open up a window 400 pixels high and 800 pixels wide?

a)size = 400, 800
screen = pygame.display.set_mode(size)

b)size = [800, 400]
screen = pygame.display.set_mode(size)

c)screen = pygame.display.open_window(400, 800)

d)size = 800 x 400
screen = pygame.display.set_mode(size)

Answers

Answered by Anonymous
5

Answer:

a)size = 400, 800

screen = pygame.display.set_mode(size)

Explanation:

If i am true it's Python if not than java script

Similar questions