251 questions
제가 순서 정하기 비슷한것을 만드려고 합니다.If the user enters a value of 5, Numbers from 1 to 5 come out randomly and check your rank. I'd like to write a code to delete the rank from the list [ ].list[ ]Leave the list...
Is it impossible to connect the structure inside the structure?
If the list is a one-dimensional array, this is how you get it.b1 = [1,2,3,4,5,9,11,15]b2 = [4,5,6,7,8]b3 = [val for val in b1 if val in b2]#ordef intersect(a, b): return list(set(a) & set(b))prin...
There are two ArrayLists, filelist and imgList. If each of these is H1.txt, it's related to e1.jpg.When I change the order of the imgList automatically, I want to change the order according to the fil...
I'm trying to create a banking system.Using ArrayList and class systems, he made it possible for several people to open their accountsThe error keeps coming up at the part where I check the card numbe...
When I learned Python, I learned, Python uses a list instead of an array.But I saw on the Internet that when you make an array, it says that you can make an array in the array module other than the li...
For example, test_list_1 = [{key_1:val_1},{key_2:val_2},{key_3:val_3},{key_4:val_4}]test_list_2 = [{key_3:val_3},{key_4:val_4},{key_5:val_5},{key_6:val_6}]# Desired Value# # test_list_2 - test_list_1 ...
a= [Seoul, Seoul, Gyeonggi, Gyeonggi, Gyeonggi, Incheon, Incheon]b=[Game, game, game]How do we find the number of indexes in a that are the data in b?
When do you use the list and tuple in Python?Some methods return lists and some methods return tuples, and I wonder by what criteria you made them.Hello %s you are %s years old %x #Tuple only availabl...
You want to sort the list that stores the string in alphabetically.Where are the relevant methods?
« | - 13 - | » |
© 2024 OneMinuteCode. All rights reserved.