Problem

Return false only if both a and b are true.

Examples

  • nand(true, true) -> false
  • nand(true, false) -> true
Compile and test (Ctrl+Enter)