Noddy's Mystery Function

Published by Matt in

Noddy has written a mysterious function which takes in a word and returns true if it's passed a specific test. Solve the riddle of what Noddy's function is by having a look at some of the examples below.

Examples

noddy_function("FANTASTIC") ➞ true

noddy_function("wonderful") ➞ false

noddy_function("NODDY") ➞ false

Notes

  • Check the Tests tab for more examples.
  • This isn't really a coding challenge, more of a fun riddle ;)
Watch a quick demo on how Edabit works.