'Pygame SpriteGroup

Recently I have been learning how to use sprite groups in pygame to make groups of sprite objects. However, I'm confused as to what data type the sprite group really is. I know in python there are data types such as dictionaries, arrays, and others. So what data type is a sprite group?

Thanks for your guidance, I'm pretty new to programming so go easy on me!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source