×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct code statement to set the pygame display window of specified size x and y?

2. Which is the correct code statement to set the pygame display window of specified size x and y?

  1. screenObj = pygame.display.window((x, y))
  2. screenObj = pygame.display.setMode((x, y))
  3. screenObj = pygame.display.set_mode((x, y))
  4. screenObj = pygame.display.set_window((x, y))

Answer

The correct answer is: C) screenObj = pygame.display.set_mode((x, y))

Explanation

The correct code statement to set the pygame display window of specified size x and y is:

screenObj = pygame.display.set_mode((x, y))

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.