n=int(input("jogadas:"))
a=22695477
b=1
m=2**32
semente=3
i=1
num=None
num_aleatorio = None
lance_computador = None
while i <= n:
lance_jogador=int(input("Faça sua jogada"))
if i==1:
num = semente
else:
num = num...
I have a dataframe with columns of Latitude and Longitude, in the format string
Atibaia['LATITUDE'].head()
140 -231,124,852,387,647
245 -231,159,749,902,692
254 -23,116,747,205
512 -231,560,912,572,211
1348 -23,11...
The platform of search of the programs conceptualized in Capes has a dynamic filtering for the own query. I would like to know how I collect the data from an output using Python. Why, using just the bs4 libs and requests I can not get output of...
People have a problem and I believe it's because of the execution order I can not run such a block of code if it does not pass first for a condition if it is not going to give error, and once hear that in C it first run the code then check, is t...
I'm in need of help, I'm developing a genetic algorithm, well my problem is that I need my loop not to stop as long as I have space on the list.
As for example I have a population of 10 already created, as soon as it enters the selection functio...
Good afternoon!
I need help in creating a python code that reads a folder containing images, check the number of images and compress the images in packages of up to 50mb.
I want to use the following API response:
link
Then I want to divide it into blocks like this:
[1456617600,434.3867,434.3867,433,781,433,781.4.15450000]
and put it on a list to work with the data.
I was doing so but it is not working:...
The code I used to create the column is returning with the following error:
The truth value of a series is ambiguous. Use a.empty, a.bool (),
a.item (), a.any () or a.all ().
I do not know how to resolve this error.
import pandas a...