Visual Studio Code – Unexpected NameError in Python whitout syntax error
I'm trying to write in Visual Studio Code for Linux a simple roll dice program, but for some reason I have an Unexpected NameError that make me mad. This is my code: from random import randint class Dice: def __init__(self,…