I was trying to make a simple snake game in Python so I installed Pygame using pip install Pygame. After I installed it successfully, I tried importing Pygame but I got this error:
ModuleNotFoundError: No module named 'pygame'
I'm new to python so I'm really stuck. I imported the module by the code.
import pygame