27 questions
I wrote a source code for 3x3 horsepower. But the output isIt comes out in a way that includes []. 8 1 6 3 5 7 4 9 2 How can I print it out in this format?def Printsquare(m): if m%2!=0: Magic =[[0 fo...
First of all, thank you for reading my question.As in a typical (git version management I've experienced), the version goes up according to the source code modification and feature addition, so I don'...
Why can't the code below receive the input value as an integer? From what I looked up, it is correct to use raw_input() but from Python 3.x, raw_input() has changed to input().play = Truewhile play: x...
I would like to test the web page I made using the class client for unit test provided by Jango.from django.conf import settingsfrom django.test import Clientsettings.configure()c = Client()response =...
I don't have any examples right nowㅜㅜI'm trying to write a web with flaskDo not use the login module provided by flask-login or other flasksI have to create a login function by writing it from the beg...
ex_list_1 = [{name:kim, age:35, height:185}, {name:Lee, age:15, height:165}] ex_list_2 = [{first_name:kim, nickname:kkk}]When there are two lists of this type, I would like to combine the dict() of ex...
a = [[0, 0], [1, 0], [0], [1, 1], [0, 0], [0, 1], [1], [1, 0], [0, 1], [1, 0], [1], [0, 0], [1, 1], [0, 1], [0], [0, 1], [0, 1]]minn = 1list= [len(x) for x in a]for b in list: if b == minn: print b...
First of all, there is a sauce that is salty from Python using opencv. The content of the source is, roughly speaking, the source that reads the image img, finds a square inside the img, and recognize...
url=https://www.whoscored.com/Players/11119/Show/Lionel-Messires = requests.get(url, headers=headers, proxies=proxies)page_parser = bs4(res.content, html.parser)So we're going to practice bringing Mes...
There is a condition that you declare a two-dimensional array and put a number in it. Horizontal, vertical, and diagonal all have to be 3*3 arrays with a sum of 15.I don't know the process of putting ...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.