for tag

100 questions


1 answers
86 views
0
Can you reduce the double for statement?

for(inti = 1; i <= 1; i++) {//y-axis for(int j = (char')A'; j <= (char')D'; j++) {//x-axis System.out.print((char)j + ); }//inner System.out.println();//Rewind Line }//outer for(inti = 1...

2 years ago

1 answers
58 views
0
Question for statement in the Pandas dataframe.

Hello, everyone It's been a while since I asked you a question.In the next picture, the expression in the for statement Can we turn it back to the For Moon one more time instead of like that? What can...

2 years ago

1 answers
68 views
0
Enter numeric data using a for statement in the C language string

I'm a beginner in C language.You want to store data in each string from a string through an array and output it.You want to enter each branch's revenue into an array and calculate the total and averag...

2 years ago

1 answers
97 views
0
It's a Python question.

from tkinter import *import matplotlib.pyplot as pltwin = Tk()win.geometry(1024x576)win.title(Minecraft bukkit)win.option_add(*Font, NotoSansKR-Medium 20)ent = Entry(win)ent.insert (0Enter server to f...

2 years ago

1 answers
110 views
0
c++ Find the smallest number

int i, min = 0; for (i = 0; i < 10; i++) { cin >> number; if (i == 0) // Condition A min = number; else if (min > number) // Condition B min = number; } cout << min;Hello, the...

2 years ago

2 answers
79 views
0
How to get C/C++ numbers and get the sum excluding the smallest and largest numbers.

#include <iostream>using namespace std;int minmax(int num) { int value, sum; int min, max; min = 9999; max = 0; for (int i = 0; i < num; i++) { cout << Enter your values please <&l...

2 years ago

2 answers
97 views
0
To join a python list element to a certain rule

# Parsing matchalpha_list = [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P]# After parsing alpha_list = [A, &, B, &, C, &, D, &&, E, &, F, &, G, &, H, &&, I, &...


1 answers
97 views
0
[Python Beginner] Question why the results depend on the difference in the empty dictionary declaration position (in or out) in the for statement

Hello, I'm a beginner at Python.I want to create a dictionary that increases sequentially with a for statement and add it to one list It depends on the difference in the position of the empty dictiona...

2 years ago

1 answers
67 views
0
Print out all beginner repeat cards

Hello, I'm a student who just learned coding.I have to print out the results below, but it's not as easy as I thought.symbol_list = ['Spade','Heart','Diamond','Clover']for i in range(1,53): for j in s...

2 years ago

1 answers
98 views
0
% question in matlab for statement.

I'm looking at the example of that gunfirePython is fori in range (19) I wrote it like thisMatte wrap is fori = 1:19I have a question. Among Matlab examples for i = 1%:100Or for i = 3%:100Looking at t...

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.