Pyg latin "input"


Bienvenue dans le traducteur francais - Pyg Latin !
saisissez un mot svp de
Traceback (most recent call last):
File "python", line 2, in
File "", line 1, in
NameError: name 'de' is not defined

Hi I really don't understand why this is not ok .. please help , thanks

print ("""Bienvenue dans le traducteur francais - Pyg Latin !""")
original=input("saisissez un mot svp")


No one has an idea plz ?


You want we should hold your hand? Come on! Give it your all!


:slight_smile: I've tested the code on idle and it works .. There is an "original" variable , user can input the text , I don't understand what's going wrong , can you give me a small info plz ?


And you have IDLE and still want our help. Come on!


ok I found I used raw_input instead of input .. So I can not use Python 3 ? because for all exercices before I used input , print with () .. ?


This course is Python 2.7.x, which has both input and raw_input, the latter being a string, the former being unicode text, as I recall. The SCT may have allowed input in some cases, but for our purposes, keep to raw_input so you get consistent results.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.