list tag

251 questions


2 answers
41 views
0
I put a variable in the list, but the values of the original variable and the variables in the list are not linked

a = Ayb = Rainc = Cd = Dabcd = [a, b, c, d]Even if the value of d is changed, the d value of the abcd variable is not changed. Why is that? I think the opposite is the sameI don't understand why d and...

2 years ago

1 answers
64 views
0
Python Jupiter laptop list Remove certain elements

I am a beginner in coding who is studying coding.I want to use Jupiter's laptop to get Naver's real-time game search wordI want to delete the '' part of the result.I tried using remove and split, but ...


3 answers
39 views
0
I'm trying to remove a zero value from the Python list

for i in range(10,100): list_2.append(i)for i in range(100,1000): list_3.append(i)for i in list_2: str1 = str(i) for j in range(2): if int(str1[j]) == 0: list_2.remove(i)for i in list_3: str2 = str(...

2 years ago

1 answers
65 views
0
Dictionary question in Python list.

When there are various dictionaries in the list, I wonder how to extract them and how to apply them.For example, x = [{'company' : 'Nexon' , 'pay': 300}, {'company' : 'Kakao' , 'pay': 200}, {'company'...

2 years ago

2 answers
45 views
0
I'd like to take the list off the list

For example, if you have [1,2,3,4,3,2] on the list a and [1,2,3] on the list b, if you take out the element of the b list from the list a, you're only going to get [4] But is there a way to make [4,3,...

2 years ago

1 answers
74 views
0
After declaring several empty lists, I want to put proper values in the empty list according to the conditions

JNA = []KAL = []AAR = []JJA = []ABL = []TWB = []ASV = []airlines = ['lj-jna', 'ke-kal', 'oz-aar', '7c-jja', 'bx-abl', 'tw-twb', 'rs-asv']for i in airlines: driver.get('https://www.flightradar24.com/da...


1 answers
88 views
0
If you create a data frame with overlapping dictionaries and save it as an Excel file, there's an omitted information

fleet_list = {}airlines = ['lj-jna', 'ke-kal', 'oz-aar', '7c-jja', 'bx-abl', 'tw-twb', 'rs-asv']for i in airlines: driver.get('https://www.flightradar24.com/data/airlines/%s' % i) driver.find_element_...


1 answers
95 views
0
I would like to know the conditions under which ArrayList will be modified due to future data.

I thought ArrayList only registers data in order.When HashMap with the same key value was registered consecutively, the data registered first were changed to the same data as the last registered data....

2 years ago

1 answers
66 views
0
Python questions [('a', 5), ('b', 2), ('c', 1), ('b', 2), ('a', 9), ('d', 3), ('c', 13), ('e', 6)] sort data in numbers like this.

data = [('a', 5), ('b', 2), ('c', 1), ('b', 2), ('a', 9), ('d', 3), ('c', 13), ('e', 6)] This kind of data [('a', 14), ('c', 14), ('e', 6), ('b', 4), ('d', 3)] I'd like to make a list that sorts the v...

2 years ago

2 answers
89 views
0
Add ranking to Python questions [('a', 14), ('b', 14), ('c', 7), ('d', 6), ('e', 3), ('f', 1)].

list_a = [('a', 14), ('b', 14), ('c', 7), ('d', 6), ('e', 3), ('f', 1)]when [('a', 14, 1), ('b', 14, 1), ('c', 7, 3), ('d', 6, 4), ('e', 3, 5), ('f', 1, 6)]In this way, I want to rank them in descendi...

2 years ago
« - 19 - »

© 2024 OneMinuteCode. All rights reserved.