Questions tagged as 'lista'

1
answer

Error in generation of graph in R

Hello, I'm trying to create a chart from a list, but I'm not getting it. The downloading part works perfectly: # download adj. price data - Asset[1],Asset[2]... symbols= c("TIET4.SA","BVMF3.SA", "CCRO3.SA","ITUB4.SA","WIZS3.SA")...
asked by 05.03.2018 / 00:32
2
answers

Create vector automatically in Python

I'm new to Python and need help with the following: I have a variable (x) that gets an integer value. I want this variable to be used to create a vector with 1 row and (x) columns. This vector must have random integer values from 0 to 10...
asked by 23.04.2017 / 20:34
2
answers

Sort List by by descending values

I have a Chromosome object : public List<int> Rotas { get; set; } public int ValorFitness { get; set; } And I also have a list of this object List<Cromossomo> . I would like to sort this list by the property ValorFit...
asked by 09.07.2014 / 15:27
2
answers

Convert string to list?

I needed to pass%% of type: 0.4350 0.8798 0.0099 1 for a string [0.4350, 0.8798, 0.0099, 1] with a simple list . How can I do this?     
asked by 01.05.2017 / 16:46
2
answers

Faster way to add an item to a list, use a structure

Structure turma Public id_turma As Integer Public nome_turma As String End Structure Structure Disciplina Public id_disciplinas As Integer Public nome_disciplina As Integer End Structure Public Class F_Contentor Dim turmas A...
asked by 22.02.2016 / 18:35
1
answer

calculate media from a list line by line in python

question: Using the text file notas_estudantes.dat write a program that calculates the average of the notes of each student and prints the name and average of each student. file: jose 10 15 20 30 40 pedro 23 16 19 22 suzana 8 22 17 14 32 17 24...
asked by 07.10.2018 / 02:28
3
answers

Pass List as expression parameter LINQ

I have a LINQ expression where the result is saved in the query variable, which is transformed into a list, this query returns a series of "RA" attributes. p> I would like to pass this list of attributes as a parameter in the LINQ expressi...
asked by 04.11.2015 / 03:26
4
answers

change class of the clicked element

So guys I have a list: <ul class="nav nav-tabs" id="myTab"> <li class="active"><a href="#novas"><span class="badge badge-info"><?php echo $qtd_novas ?></span> Novas Mensagens</a></li> <l...
asked by 10.04.2015 / 21:43
2
answers

Replace list () by putting value in each index of an array

So I was browsing through php.net when I came across List () and went to see what it was for. Then they gave me the following example: $info = array('Café', 'marrom', 'cafeína'); list($bebida, $cor, $substancia) = $info; echo "$bebida é $cor e...
asked by 14.03.2017 / 14:16
1
answer

C # Convert object to an unknown list of objects

I have an issue here. I have an object received by parameter. It can be a single object or list of objects (List). How can I convert the object to a List object WITHOUT RECEIVING THE TYPE by parameter? I do not want the signed method with....
asked by 06.06.2016 / 16:57