This is the code I have:
import pygame
pygame.init()
I\'m very confused because if I try to run the file, then there seems to be no issue,
I just wrote like this!
from pygame import * #this will import everything inside the pygame module
import pygame
Now I'm not getting any errors in vscode.
I had the same problem while doing it in Vscode but it somehow resolved when i ran the python file from pc terminal . not the terminal in Vscode