This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
over 10 years

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

Answer 51eb0c548c1ccc46a4003a58

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!

points
Submitted by Jeff
over 10 years

Answer 51eb35ff7c82ca8063005d68

1 vote

Permalink

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

OS X 10.8.4

points
Submitted by AJ
over 10 years

Answer 51ece71d282ae3222b001b9c

1 vote

Permalink

me too. -firefox Ubuntu 13.04

points
Submitted by Tom P.
over 10 years

Answer 51ed03e18c1ccc5b590021e3

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

points
Submitted by Guille
over 10 years

Answer 51f5595c8c1ccc9c1c008e6e

1 vote

Permalink

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

points
Submitted by Tawfic A.Fatah
over 10 years

Answer 5246512980ff3374be001fd9

0 votes

Permalink

str = ( “answer1” )

worked for me

points
Submitted by uniquecoverings
over 10 years