This is a syntax error, it should read:

```ruby
def guessing(answer)
```
(With no space after `guessing`)