showing results for - "quantity of numbers between in python"
Édouard
10 May 2018
1const solve = (n) => {
2    const nums = [];
3    for (let i = 0; i <= n; i++) {
4        let n = String(i);
5        if (!n.includes('4')) {
6            nums.push(n);
7        }
8    }
9    return nums.length;
10};
similar questions
queries leading to this page
quantity of numbers between in python