168 questions
The problem is that there are three boxes called ab c. A is a box that can hold 1 kg. B is a box that can hold 1.3 kg. C is a box that can hold 1.6 kg. At this time, the values of boxes a, b, and c ar...
I have 3500 won of money, and I have to take this money and get the number of cases that I can buy at the supermarket without leaving any money behind.The menu includes cream bread, shrimp crackers, a...
def solution(number, k): num_s = str(number) answer = '' if k == 0: return number list1 = [] list_a = [] list_temp = [] for i in range(len(str(number))): list1.append(int(num_s[i])) num1 = len(list1...
In an ordered two-dimensional list, you want to use binary search to create an algorithm that outputs true if desired, and false if not.matrix = [ [1, 3, 5, 7], [10, 11, 16, 20], [23, 30, 34, 50]]def ...
I'm a soldier who takes a data rescue class by himself.Honestly, I wonder why I'm asking this question myself,I'm asking you a question to get an answer.Suppose the for statement is as follows.for( i ...
i = 0for f in range(len(machh)): globals()['button{}'.format(f)] = tkinter.Button(frame, command = lambda : self.Match_Deep_Search(f) ) # Create buttons as large as the list def Match_Deep_Sea...
Algorithm learning using Python KNN. Classifying handwriting. I'm in college, but the assignment is too difficult and I don't know anyone, so I'm asking you urgently.I'm sorry for posting this suddenl...
I wrote two functions that put the list upside down and turned them around to test them in the main function.It seems that certain numbers are constantly added to the arr list in functions created usi...
« | - 17 - |
© 2024 OneMinuteCode. All rights reserved.