Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
2 answers
92 views

Basically what i'm trying to do is loop through the whole list and have each "-" symbol be replaced with a number that indicates the number of "#" symbols next to them similar to ...
0 votes
1 answer
130 views

I'm trying to estimate the population growth of a population with different growths rates, shown below r <-c(0.5, 1.0, 1.5, 2, 2.5, 2.6, 2.7, 2.8, 2.9) I'm trying to fill N_List with the ...
-4 votes
3 answers
149 views

While practising nested loops in C, I wanted to understand how control flows between an outer loop and an inner loop. I understood that the inner loop runs for each iteration of the outer loop, but ...
3 votes
1 answer
96 views

I am trying to re-run a nested for loop within a while loop if the while condition is not met. If the condition is met then I want the inner loop to terminate and proceed to the next iteration of the ...
0 votes
2 answers
163 views

I have a python code that calculates a function F(X), where both F and X are arrays of the same shape. F(X) uses another function called from a package that only accepts a scalar as an argument, but I ...
0 votes
4 answers
112 views

I'm trying to fill rows in several columns with dates and time from given start date to given end date to create a schedule. In the first column I want the date displayed as "year", 2nd ...
0 votes
1 answer
63 views

I'm trying to figure out how to get this nested loop to work without delayedexpansion. My original block shown below works as intended, but after writing it, I discovered I can't save the changes to ...
1 vote
1 answer
96 views

I have selected a subset of numerical columns from a database and I want to iterate through the columns selecting a target_column and comparing it with the result of a numerical operation between two ...
1 vote
1 answer
69 views

I'm trying to determine the time complexity of the following code. It has a nested loop structure, and inside the inner loop, a recursive function is called. I want to understand how the recursive ...
0 votes
1 answer
62 views

I am not very experienced with coding but I am creating a customtkinter application style script where a user can input a specific type of html that contains diagnostic addresses and various ...
0 votes
0 answers
102 views

Lua table (ref) index changes its values without assigning any to them. Why does ref table change its values after assigning it to tab[c] or using string.match()? The actual behavior is that the ref ...
0 votes
0 answers
140 views

I am making a mockup CPU in VHDL. I am using Vivado for simulation and programming environment. I need help understanding why my simulation won't follow through with the nestled loops. I need ...
0 votes
0 answers
38 views

Let me preface this with the fact that I am new to ARM templates. I am trying to create a template that will created a bunch of CosmosDB accounts, databases, and containers based on a config file that ...
2 votes
1 answer
119 views

Is there a smart way to vectorize a nested for loop of inner products, where the inner index is lower bound by the outer index? Here's a simple example. Say that arr1 and arr2 are numpy arrays each ...
0 votes
1 answer
59 views

If the replacement of elements is written in two lines, then the matrix is ​​transported incorrectly x=[[i for i in list(map(int,input().split()))] for _ in range(int(input()))] print("Result:...

15 30 50 per page
1
2 3 4 5
...
331

AltStyle によって変換されたページ (->オリジナル) /