question@mail.ru
·
0000-00-00 00:00:00
·
список, строка, python
How to convert a string consisting of words separated by spaces, and sort the resulting list in a lexicographic order? is given a line from words separated by spaces: S = ...
question@mail.ru
·
0000-00-00 00:00:00
·
вопрос
There was a need to write data in a certain line in a large file for a couple of gigs. More specifically, now you need to read the line, then process it, and then delete it from t...
question@mail.ru
·
0000-00-00 00:00:00
·
вопрос
You need to get the user ID who uses the bot. How can this be done in Aiogram?
question@mail.ru
·
0000-00-00 00:00:00
·
python, django, проект
Good day to everyone! I have a “proj” project on Django, the “BLOG” application has been created in it. In the file "" ..../Proj/Blog/Templates/Page.tpl "you need to connect the" ...
question@mail.ru
·
0000-00-00 00:00:00
·
работа
Please explain how you can work with qscrollarea . He did in the designer, but does not work. I did not find normal solutions on the Inteet
question@mail.ru
·
0000-00-00 00:00:00
·
ооп, python, пример
What is the essence of Self in the OOP of the Python and this in C ++ (better in examples)?
question@mail.ru
·
0000-00-00 00:00:00
·
python
Is there an analogue in Python for string.Askii_letters , only for the Cyrillic alphabet? & gt; & gt; & gt; Import string & gt; & gt; & gt; string.Askii_letters '' 'Ab...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, работа
Hello again. is the task of rewriting the existing classes/structures of data in Python to C. I have little idea how to work, but the task is set, it is necessary to study. Ple...
question@mail.ru
·
0000-00-00 00:00:00
·
python, совет, python3, requests, работа
connected the VK API. It is necessary to send files to the server as this is described on this page - P.S. Downloading files to the user wall import vk from time Import ...
question@mail.ru
·
0000-00-00 00:00:00
·
список, помощь, пример, ии
from the user, using the input function, I get a six -digit number. After that, you need to divide it into 6 independent numbers, for example, the list. how can this be ac...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, совет, ии
There is a task in; There is a decision, where, according to the grace of Python, “defeated” “C#, but the recursionerror flies out on x = 512: What do you advise, fathers? How to ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример
Why are different results in 2 cases get? Example 1: a = 1 b = 2 c = 3 d = 4 e = 5 f = 6 a, b, c, c, d = d = E, f, a, B print a, b, c, d, e, f result 1...
question@mail.ru
·
0000-00-00 00:00:00
·
python
Three whole numbers are given. Determine which of them has more the sum of numbers. Calculation of the amount of numbers to organize through the function. I determine the amoun...
question@mail.ru
·
0000-00-00 00:00:00
·
метод
The task is to make a method that works at a certain hour. I suppose you need to do this in the asynchronous method (so as not to interfere with the main program). There is onl...
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример
For example, it is necessary to calculate the root of the 3rd degree out of 27000. I recorded the following ways a = pow ( 27000 , 1 / 3 ) # The answer is approximately 29....
question@mail.ru
·
0000-00-00 00:00:00
·
python, ии
Python began to study, sometimes terrible stupids attack. A number of tasks with this cycle, it seems, is solved and understandable, I can’t understand how to formulate the solu...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос
I decided to follow the writing of my code and faced the problem of how to make the transfer of lines and expressions in Python. def get_message ( self ) -& gt; Def ge...
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример, ии
I can load the image and display it as follows: import cv2img = cv2.imread ( "" 1.jpg "" ) cv2.imshow ( "" Original "" , img) for example, I can load any, draw a white ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, numpy, pip
Trying to make friends Python and FFMPEG under Windows. It is necessary from a set of images and sound paths (stored in the memory of the program as Numpy Array) to make one lo...
question@mail.ru
·
0000-00-00 00:00:00
·
python
There are two lists a and b you need to syntil them on the list a , i.e. The first element of the list a corresponds to the first element of the list b , etc. a =...
question@mail.ru
·
0000-00-00 00:00:00
·
python
Suppose I have a line: stroka = input () introductory introductory inputs Data: qwertyu Iopasd fghjklz xcvbnm how to make all the words all words with a title. ...
question@mail.ru
·
0000-00-00 00:00:00
·
список, python
There is a text file with this content "" D11I14V17A8N7R11H16R18P18E5H18I18X8O16Y5S13D1X6U4A20C 2P2O14J5I11L5K6Y4X19N17H1E17Q5Z1U1K6U8L11N14K6 ". I wrote a code that divides the ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, работа
The standard method through the list inclusion ( LIST COMPREHENSION ): My_LIST = [ 1 , 2 , 3 , 4 5 , 6 ] my_list_1 = [i* 5 for i in my_list] Print (my_list_1) ...
question@mail.ru
·
0000-00-00 00:00:00
·
python
IMPort RANDOM import timeli = [] tmp = 100000 for i in range ( 0 , 100000 ): if tmp! = 0 : x1 = radom.randint ( 0 , tmp) Li.ppend (x1) tmp = x1 else : bre...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, пример
Help to understand the redirect CMD output to the variable, because The variable is assigned only the Exit_code of the process. For clarity, there are a couple of examples: an exa...
question@mail.ru
·
0000-00-00 00:00:00
·
многопроцессорность, python, пример
For example, there is such a code: import sys
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример
lists can be two types, with all the even numbers and one odd, and with all the odd numbers and one one. There can be at least three values in the list. lists for example: ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос, пример, работа, проект
Hello! I work on a large project. But I will explain my question on a different example ... Suppose I need to create a program that only knows how to get out of his temper)...
question@mail.ru
·
0000-00-00 00:00:00
·
вопрос, ии
. The answers to it are not accepted at the moment.
question@mail.ru
·
0000-00-00 00:00:00
·
python, ии
The number of numbers Two integers of A and B (A& le; b) are presented at the input program. Write a program that calculates the number of numbers in the range from A to B in...
question@mail.ru
·
0000-00-00 00:00:00
·
строка, python, пример
Task: on this line, determine whether it is a palindrome (that is, it is true that it is equally read from left to right and right to left) Entry on the input is supplied w...
question@mail.ru
·
0000-00-00 00:00:00
·
python, ии
There is a library simple_DRAW for drawing simple graphic primitives. I can’t understand how to draw a cycle of vertical lines, more precisely, I get in each row one line with a...
question@mail.ru
·
0000-00-00 00:00:00
·
python
We need in a line similar to 1a3bcf2bnklopy5T to find the number.
question@mail.ru
·
0000-00-00 00:00:00
·
функция, python, боты
I have a function that takes into the terminal during operation: print ( "" "" ") I need to ensure that each new print numbered: Print ( "" "[1] ..." ")
question@mail.ru
·
0000-00-00 00:00:00
·
список, строка, python, пример
For example, there is a line a = 987 how to conclude in this format:? 9 , 8 , 7 it is possible like through a cycle for () and then write it to the list and disp...
question@mail.ru
·
0000-00-00 00:00:00
·
python, работа
Just a conventional comparison through == does not work as it should be: & gt; & gt; 0 == false true
question@mail.ru
·
0000-00-00 00:00:00
·
строка, python, работа
Given line: a =
question@mail.ru
·
0000-00-00 00:00:00
·
словарь, python
There is such a dictionary: mydict = {'Main': 'Open', 'Second': 'Close', 'Third': 'Open'} . It is necessary to get all the keys to the values of 'open' . Class = ""> 'Main' : ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, пример, работа
I try to solve the problem: Write a program that displays part of the sequence of 1 2 2 3 3 4 4 4 4 5 5 5 5 5 ... (the number is repeated so many times, which is equal). The ...
question@mail.ru
·
0000-00-00 00:00:00
·
python, вопрос
x = ['27342837429']. Replace any digit in a line below 5 by & laquo; 0 & raquo;, and any number 5 or higher on & laquo; 1 & raquo;.
Блоги
Какая collation в MySQL с PHP лучшая? Полный туториал
Как научиться программировать на Python с нуля в 2026 году