This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with Python Forum

View Course

392 points
51e6797d282ae38001002df5_262531620
Submitted by
Guttormur Ingi Einarsson
over 4 years ago

tryed str("answer") and all possible answers

I am having trouble wit a few questions where I have to return a string but noting I try gets the error about posting it in quotes ...

are there anybody here that can get these exercises to work properly ?

don't think that this matters but I'm trying this on google chrome


2 votes

permalink

I am having the same problem! I can't get ANY of the quizzes to work - I have tried all possible answers with "answer", 'answer', str(answer), and str("answer") and nothing seems to work!

799 points
23cc60015d673c973af82ebaa9cfa13c?s=140&d=retro
Submitted by
Jeff
over 4 years ago


1 vote

permalink

I also have the same problem. I've tried in Chrome and Safari.

OS X 10.8.4

801 points
502200c656102a000200c739_509608145
Submitted by
AJ
over 4 years ago


1 vote

permalink

me too. -firefox Ubuntu 13.04

749 points
52100db580ff3348cd00bcf0_675084419
Submitted by
Tom P.
over 4 years ago


1 vote

permalink

Me too! This is the third quiz I do here and any quiz worked: they gave me the same error: "Oops, try again! Make sure that you provide all your answers as strings in quotation marks". CodeCademy should fix this!

OS X 10.8.4

312 points
C3c2414e15990c514b5d497dab829442?s=140&d=retro
Submitted by
Guille
over 4 years ago


1 vote

permalink

What worked for me was:
answer = u"answer"

856 points
876fea2159ce6113f4cabbc647082726?s=140&d=retro
Submitted by
Tawfic A.Fatah
over 4 years ago


0 votes

permalink

str = ( "answer1" )

worked for me

416 points
Ea3408490274a2f0c1b9da1bd71babe2?s=140&d=retro
Submitted by
uniquecoverings
about 4 years ago