Find numbers between 1000 and 3000 | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 5
You could find all digits in between and use concatenation.
17th Jun 2018, 7:18 AM
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬
šŸ‘‘ Prometheus šŸ‡øšŸ‡¬ - avatar
17th Jun 2018, 4:54 AM
ā€ŽĀ ā€ā€ā€ŽAnonymous Guy