Skip to main content
1 of 4

#15. Python 3, 64 bytes .1and(11*"""*11(dna1. Hi, Retina!-> """)and(lambda s :"?"in s) Try it online!

Satisfies:

  1. The first character is a ..
  2. It contains an e.
  3. Its length is even.
  4. Its length is a perfect square.
  5. It contains an a.
  6. It contains a > character.
  7. Contains the exact string ->.
  8. Contains the exact string Hi, Retina!.
  9. The sum of the first two Unicode code points is a multiple of 5.
  10. The 10-th character is a ".
  11. The last non-empty line does not have any duplicate characters.
  12. The first line is a palindrome of length > 5.
  13. The first line is exactly 21 characters long (not including newline).
  14. It contains a ?.

For future answers:

  • The first character is a ..
  • Its length is an even perfect square.
  • Contains the exact sequence ->.
  • Contains the exact string Hi, Retina!.
  • The second character's Unicode code point, mod 5, is 4.
  • The 10-th character is a ".
  • The last non-empty line does not have any duplicate characters.
  • The first line is a palindrome of length = 21
  • It contains a ?.