+ 2

Find numbers between 1000 and 3000

I am a newbie to programming as such am trying to understand basic things. I want to make a python program that finds numbers for example between 1000 and 3000 (both included) such that "each digit" of the number is even. (Example would be 2882, 2660)

17th Jun 2018, 4:47 AM
Symon
Symon - avatar
2 odpowiedzi
+ 5
You could find all digits in between and use concatenation.
17th Jun 2018, 7:18 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar