list tag

251 questions


1 answers
48 views
0
Mixing lists alternately

I'd like to take turns shuffling the list from PythonFor example, if you have two lists,list1=[a,c,e]list2=[b,d,f]Mix list1 and list2[a,b,c,d,e,f] That's what I want to doWhat should I do?

2 years ago

1 answers
52 views
0
It's a question from Python list

I'd like to take out the values I want from the list in the form of a list. For example, x=[[1,2,3,4],[10,20,30,40],[100,110,120,130]]What should I do if I want to get the output value [1,30,110] by t...

2 years ago

1 answers
103 views
0
I need help with the Python list output.

I was happy that the answer came out earlier, but I came back to the starting point and posted the question again...The question now is, is it an address book in which you save the information of 3 fr...

2 years ago

1 answers
84 views
0
The use of the Description List (dl) element is confusing.

The HTML dl element is (or HTML Description)List Element) encloses multiple pairs of terms and definitions. ToothCommon use of elements is to implement vocabulary or to use metadata (key-value pairs)L...


1 answers
75 views
0
List How to use it

List <? You want to use the datatype in extensions List <LatLng >>. But I don't know how to use it.Give me an example!

2 years ago

1 answers
50 views
0
Invoke posts in the jsp bulletin board list in the order of recommendation and latest

On the jsp bulletin board,I'd like to make a separate list page consisting of post recommendations and latest order I want to know how to organize a DB query.

2 years ago

3 answers
108 views
0
How can I change the list element using the for statement in Python?

In Python, you want to change the element that meets the condition to a different value.temp = ['apple', 'banana', 'coke']for i in temp: if i == 'coke': i = 'grape'print(temp)I thought it would be ap...

2 years ago

1 answers
52 views
0
What do other people do when they put elements in the front of the list?

I know that the last one is called list.append().Then, when you put it in the beginning,Which one should I use?

2 years ago

1 answers
74 views
0
To divide a list into equal sized pieces in Python

You want to divide a list of arbitrary lengths into pieces of the same size. Of course, there are clear ways of putting two counters and a list, and every time a second list is filled, there are ways ...

2 years ago

1 answers
89 views
0
How do I create a list in Java?

Set is Set myset = new HashSet()You make it like this, right? How do I make a list?

2 years ago
« - 10 - »

© 2024 OneMinuteCode. All rights reserved.