for tag

100 questions


1 answers
82 views
0
I want to know the difference between for and while.

I'd like to know the difference between the JavaScript loop statement, why and for.

2 years ago

1 answers
96 views
0
This is a question when you define the initial expression of the c language for statement as an array.

void dice(int count) { int i; if (n < count) { print(n); return; } for (i = arr[count - 1]; i <= 6; i++) { arr[count] = i; dice(count + 1); }}This is.Looking at this code, count gave the par...

2 years ago

1 answers
161 views
0
Output speed difference after the for statement result immediately vs for statement result list append (SW Expert question 3750)

Hi, how are you?There was a problem I didn't know while solving SW Expert Academy question 3750 I couldn't find a solution even if I googled, so I asked this question.The problem is that the unauthori...

2 years ago

2 answers
98 views
0
I have a question for you, Python for Moon.

I brought the For Moon to Gugudan.When printing from the first stage, I would like to adjust the interval between the steps with interval, first output from the first stage, and lastly output from the...

2 years ago

1 answers
135 views
0
Python list.range Syntax Question.

Use the list range to line up (ex. 150, 155, 160, 165....)If you enter the standard weight, it floats like the standard weightI keep on increasing my height by 5 and my weight also increases by 5I'm w...

2 years ago

1 answers
76 views
0
369 games

When the question is 369, Jjak comes out and 33 comes out twice, but if the output value is 23 now, it comes out once, so please let me know what the problem is and help me fix it.

c for
2 years ago

2 answers
106 views
0
PYTHON] How to start in the middle, not the first time, when operating a for door with a list or a panda?

Hello, I'm a beginner at PYTHON. So please understand that the level of questioning can be very low.foriiin list variable: print(ii)When you run with , the list variable always starts from the beginni...

2 years ago

1 answers
96 views
0
Questions about Python List

To solve this problem #4 for i in range(len(table[0])) : print(table[0][i]) sum=0 for j in range(1,len(table)) : for k in range(1,len(table[j])) : sum=sum+table[j][k] print(total score,sum,means,sum/(...

2 years ago

2 answers
91 views
0
Ask for dynamic generation code using Android Linear Layout for statement

I'm making a program that makes a 365-day button to make a year's calendar, but as I set Layout every week, the coding gets too long if I do it, so I tried to use an arrangement using a for statement,...

2 years ago

1 answers
89 views
0
I have a question about the triangular output and rhombus output using the Java scanner.

// Triangular scannerimport java.util.Scanner;public class Stars05 { public static void main(String[] args) { int line; Scanner input = new Scanner(System.in); System.out.print(How long is the line...

2 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.