list tag

251 questions


1 answers
78 views
0
Limit on the list? Is there something like that?

Hello, this is my first time to analyze data since I entered Python.I wrote the code with the same goal as the code below, but the problem only progresses to 10 in the For MoonThere's been an error af...

2 years ago

1 answers
142 views
0
Find the mean of the numbers in the list (using for statements)

You want to average the prices in the fruit list!I even extracted the price from the listI think I can use the sum, but it's stuck.fruit = [Apple, 1020] [Orange, 880] [Grape, 3160]sum=0for i in fruit:...

2 years ago

1 answers
78 views
0
To change to a list of data frames

I want to check the frequency of each word with the data. Current data consists of data frames Each row contains hashtag data in [ ] in the form of [Today, Today's Weather, Hungry] Converting to a lis...


1 answers
78 views
0
Differences when assigned as clear and new in Java arrayList

Hello, I used clear while working, but my friend who didn't have the price reallocated it to new, so it came out properly I was going to find out the difference, but I have no idea, so I'm asking you ...

2 years ago

1 answers
38 views
0
[[0], [[1, 2], [3, 4]], [[5, 6, 7], [8, 9, 10], [11, 12, 13]]] I want to get the maximum value from the list.

Hello, just like the title, [[0], [[1, 2, [3, 4]], [5, 6, 7], [8, 9, 10], [11, 12, 13]]] I want to get the maximum value from the listI have no idea how to approach it.In the list, 1*1, 2*2, 3*3... I ...

2 years ago

1 answers
38 views
0
TypeError: unsupported operation type(s) for -: Why does 'list' and 'int' appear so much?

key = list (range (150, 180, 3))Standard weight = (height - 100) * 0.9for i in range(10): print (i + 1, height [i], cm, standard weight, kg)![Image][1] [1]: https://res.cloudinary.com/eightcruz/image/...

2 years ago

1 answers
50 views
0
Java Collection Framework LinkedList question.

The LinkedList feature states that when you remove an object from a particular index, only the link is parallelized and the rest of the link is not changedWhen I tried it myself, it moved up the same ...

2 years ago

2 answers
85 views
0
I wonder how to add elements that exist during the list tour.

data_list = [[apple, 5], [grape, 3], [apple, 2]]result_data = []check_list = []for item in data_list: if item[0] not in check_list: result_data.append(item) check_list.append(item[0]) else: for res...

2 years ago

1 answers
136 views
0
Python [::] What do you call this?

If you use a string or array in Python, a = '123456789'print(a[::])#Output: 123456789There are times when [::] calls are used as above. What do you call this function?

2 years ago

1 answers
94 views
0
C Unusual result values for rows/columns in a rudimentary two-dimensional array

After making a two-dimensional array using random numbers,A program that outputs an array in a two-dimensional table after obtaining the sum of each row and each column.But if you compare the table wi...

2 years ago
« - 22 - »

© 2024 OneMinuteCode. All rights reserved.