Wrong syntax in 3. private affairs


#1



https://www.codecademy.com/en/courses/ruby-beginner-en-32cN3/0/3?curriculum_id=5059f8619189a5000201fbcb

if i write on line 18 till 20:
def pin_error
return "Acces denied: incorrect PIN."
end

it's giving me an error

do i write it wrong returns in place of return it goes thru and says Way to go!
def pin_error
returns "Acces denied: incorrect PIN."
end


Replace this line with your code.


#2

You misspelled "access".


#3

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