NameError

Résolu/Fermé
Lili - 17 avril 2019 à 23:45
quent217 Messages postés 421 Date d'inscription vendredi 25 septembre 2015 Statut Membre Dernière intervention 1 mars 2024 - 19 avril 2019 à 13:49
Bonjour,

J'ai un problème avec l'interpréteur Python3 . quand j'écris python ou un autre nom il m'affiche NameError: name 'python' is not defined. quand je rentre des chiffres tout se passe bien. Est ce que quelqu'un pourrait m'aider? Merci

1 réponse

quent217 Messages postés 421 Date d'inscription vendredi 25 septembre 2015 Statut Membre Dernière intervention 1 mars 2024 344
19 avril 2019 à 13:49
Bonjour,
c'est normal, si vous êtes dans l'interpréteur Python, vous n'avez pas besoins d'écrire la commande "python", écrivez simplement votre code en Python.
0