I'm receiving some data which I need to turn them to numbers, make some computation with that and then I need to use the same data in another place bu ...
I'm receiving some data which I need to turn them to numbers, make some computation with that and then I need to use the same data in another place bu ...
Imagine that I have a numpy array of 'n' rows by 'm' elements, i.e. shape = (n,m). If the array is called xrandom and I have a routine like the one s ...
background: the service port number in firewall access-list has different format like: single number: 22,443 range:10000-65535 I am working around ...
Trying to get multiple digits even if its on the same line. this is what I have so far import re lines = ''' 1 2 3 4 G3434343 ''' x = re.finda ...
I am trying to convert an array of numbers to an array of strings and get the first character in each element of the array. Tell me what I am doing wr ...
I'm new at programming and i need help with my "work". I need to print specific number from a list. List = from 1 to 10 000 and i need to pick every s ...
function sumDigits(num) { // your code here let nums = num.toString(); let sum = 0; for(let i = 0;i<nums.length;i++){ Num ...
I have different sign up pages that load for different countries, and I need the telephone input to be for that specific country, such as on one page ...
How can I find all numbers different of zero in a such string. for example: '\\0\\0.412583\\0.4415169\\0.4140446\\0.3750735\\0\\0.4128125\\0\\0' I t ...
I'm new to Cypress and I need to compare theese two numbers: 1045,92 and 1045,92 I try like this But: expected '1 045,92 р.' to deeply equal ...
I am validating phone numbers and this is my conditions, if (!empty($phone)) { if (!filter_var($phone, FILTER_VALIDATE_INT) || !filter_var($phone ...
While writing a program to find the prime numbers in a certain range, the code prints every prime number multiple times instead of just listing it onc ...
I have a string of digits and I want to count how many unique digits the string contains. Example: Expected output: I have achieved this using ...
I have a program that save amount that is inserted by user here is the function to save the amount inserted by user Then when I insert the amount ...
I have been trying to make a TextLabel change color from red, to green over the RGB spectrum more each click. I did have it working, but on seperate p ...
I need to create a sequence of numbers for pagination links, this sequence needs to be 7 numbers in length and start 3 numbers before the given number ...
The problem is solved. (Project-Euler #8) But I was wondering - Can we optimize it even more? Problem - Given a text array of numbers (lets say DATA ...
Is there any library that reads sequence of numbers for example on a paper has 123456789 I want to get only the first 3 digits with the camera, I did ...
I have a list of numbers in excel for example: And I want to count the number of occurrence of the numbers So it will be like this ...
When I do this: It always equals 0, no matter what the decimal numbers are. Maybe the decimals are not in 32-bit form, in some weird form? I wa ...