×

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 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.