Skip to main content
added 56 characters in body
Source Link

Japt, 2020 18 bytes.

-2 bytes thanks to @Shaggy and @ETHproductions

A³òL² ms f_¬xf_=ì)x ¥9©Zø0¥9«Z×

A³òL² ms f_¬x ¥9©Zø0     f_=ì)x ¥9«Z×  Full program
A³òL²                Range [1000, 10000]
 Range from [1000 9001)
  f_   ms         Filter by :  
     Convert to string
 =ì)       f_  Convert to array  
         Filter values that
x ¥9     Sum equal to 9?
 ¬x ¥9         Sum equal to 9 
 «    And  
          ©Zø0     And contains at leastProduct onenot 0

Try it online!

Japt, 20 bytes

A³òL² ms f_¬x ¥9©Zø0

A³òL² ms f_¬x ¥9©Zø0        Full program
A³òL²                   Range from [1000 9001)
     ms                 Convert to string
        f_              Filter values that
          ¬x ¥9         Sum equal to 9 
                ©Zø0     And contains at least one 0

Try it online!

Japt, 20 18 bytes.

-2 bytes thanks to @Shaggy and @ETHproductions

A³òL² f_=ì)x ¥9«Z×

A³òL² f_=ì)x ¥9«Z×  Full program
A³òL²               Range [1000, 10000]
      f_            Filter by :  
        =ì)         Convert to array  
           x ¥9     Sum equal to 9?
               «    And  
                  Product not 0

Try it online!

deleted 1 character in body
Source Link

Japt, 20 bytes

A³ò#〈A³òL² ms f_¬x ¥9©Zø0

A³ò#〈A³òL² ms f_¬x ¥9©Zø0        Full program
A³ò#〈A³òL²                   Range from [1000 9001)
     ms                 Convert to string
        f_              Filter values that
          ¬x ¥9         Sum equal to 9 
               ©Zø0     And contains at least one 0

Try it online!Try it online!

Japt, 20 bytes

A³ò#〈 ms f_¬x ¥9©Zø0

A³ò#〈 ms f_¬x ¥9©Zø0        Full program
A³ò#〈                   Range from [1000 9001)
     ms                 Convert to string
        f_              Filter values that
          ¬x ¥9         Sum equal to 9 
               ©Zø0     And contains at least one 0

Try it online!

Japt, 20 bytes

A³òL² ms f_¬x ¥9©Zø0

A³òL² ms f_¬x ¥9©Zø0        Full program
A³òL²                   Range from [1000 9001)
     ms                 Convert to string
        f_              Filter values that
          ¬x ¥9         Sum equal to 9 
               ©Zø0     And contains at least one 0

Try it online!

added 249 characters in body
Source Link

Japt, 20 bytes

A³ò#〈 ms f_¬x ¥9©Zø0

A³ò#〈 ms f_¬x ¥9©Zø0        Full program
A³ò#〈                   Range from [1000 9001)
     ms                 Convert to string
        f_              Filter values that
          ¬x ¥9         Sum equal to 9 
               ©Zø0     And contains at least one 0

Try it online!

Japt, 20 bytes

A³ò#〈 ms f_¬x ¥9©Zø0

Try it online!

Japt, 20 bytes

A³ò#〈 ms f_¬x ¥9©Zø0

A³ò#〈 ms f_¬x ¥9©Zø0        Full program
A³ò#〈                   Range from [1000 9001)
     ms                 Convert to string
        f_              Filter values that
          ¬x ¥9         Sum equal to 9 
               ©Zø0     And contains at least one 0

Try it online!

Source Link
Loading