Bug report, Exercicse 15 (Spanish)


#1



Hi, I want to report a bug in the exercise 15 for everyone that is stucked at this point. This happens in the spanish version of the python course and it happens because the code includes the accent points: ´
And the question mark: ¿
Returning this error on the console:
Traceback (most recent call last):
File "python", line 1, in
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)


nombre = raw_input("Cual es tu nombre?")
mision = raw_input("Cual es tu mision?")
color = raw_input("Cual es tu color favorito?")

print "Ah, asi que tu nombre es %s, tu mision es%s, \
y tu color favorito es %s." % (nombre, mision, color)


In this way it should work, at least for me.
I hope that this could help anyone.


#2

Hi, @jhardn13 ,

Thanks for the bug report. Have you found a way to pass the exercise? If not, try this workaround ...

nombre = raw_input("Cual es tu nombre?")
mision = raw_input("Cual es tu mision?")
color = raw_input("Cual es tu color favorito?")

print "Ah, asi que tu nombre es %s, tu mision es %s, \
y tu color favorito es %s." % (nombre, mision, color)

Unfortunately, this bug might not get fixed, because Codecademy will be replacing the Python track with an entirely new course in the near future.


#3

Yes, I passed the exercise putting the python code in the way that I posted. Thanks for replying and your work, I'm enjoying the course :slight_smile:


#4