## Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

### Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial###### billwerba

8,283 Points# Check your answer to Sentence given Also the "s in the sentence tend to mess up the online interpeter

Copied the sentence posted in the question and made the right edits and it has issues, first was the "s in the sentence which caused issues with the online interpeter, even with swapping the "s out with \" to fix it it does not see it as correct.

def mod(a, b) #write your code here return "\"The remainder of a divided by b is c.\" where #{a} is your \"a\" variable, #{b} is your \"b\" variable, and c is the value of #{a % b}."; end

even did

def mod(a, b) #write your code here return "\"The remainder of a divided by b is c.\" where a is your \"a\" variable, b is your \"b\" variable, and c is the value of #{a % b}."; end

```
def mod(a, b)
#write your code here
return "\"The remainder of a divided by b is c.\" where #{a} is your \"a\" variable, #{b} is your \"b\" variable, and c is the value of #{a % b}.";
end
```

## 1 Answer

###### Alexander Davison

65,468 PointsTry this:

```
def mod(a, b)
"The remainder of #{a} divided by #{b} is #{a % b}."
end
```

Hope that helps!