Quantity of Numbers Between in python code example
Example: 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;
};