×

Multiple-Choice Questions

Which function is used to initialize pygame modules?

1. Which function is used to initialize pygame modules?

  1. init()
  2. initialize()
  3. load()
  4. initiate()

Answer

The correct answer is: A) init()

Explanation

To initialize pygame modules, the init() function is used. Consider the below code statements in which we are importing and initialize the pygame module –

import pygame
pygame.init()

Comments and Discussions!

Load comments ↻






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