Answers for "Quantity of Numbers Between in python"

0

Quantity of Numbers Between in python

const solve = (n) => {
    const nums = [];
    for (let i = 0; i <= n; i++) {
        let n = String(i);
        if (!n.includes('4')) {
            nums.push(n);
        }
    }
    return nums.length;
};
Posted by: Guest on May-15-2021

Code answers related to "Quantity of Numbers Between in python"

Code answers related to "Javascript"

Browse Popular Code Answers by Language