```ruby
# I worked on this challenge [by myself, with: ].
# This challenge took me [#] hours.

# Pseudocode



# Initial Solution

def is_fibonacci?(num)
  if num <= 9
    true
  elsif
  end

end



# Refactored Solution







# Reflection```

Add second trial to solution
user
```ruby
# I worked on this challenge [by myself, with: ].
# This challenge took me [#] hours.

# Pseudocode



# Initial Solution

def is_fibonacci?(num)
  plus_four =  Math.sqrt( (num * 5) ** 2 + 4)
​
  minus_four = Math.sqrt( (num * 5) ** 2 - 4)
​
  if plus_four.is_a?(Float) || minus_four.is_a?(Float)
    return false
  else
    return true
  end
end


# Refactored Solution







# Reflection```
assistant