Questions tagged as 'condiciones'

0
answers

Can someone tell me why it does not show the result of the specialty?

In the first image when I execute the code, it shows me the output for the LEVEL in this SUPERIOR case, but it does not show me the SPECIALTY, but if I comment the code for the LEVEL if it shows me the specialty, what is this due to me? they can...
asked by 28.10.2018 / 03:58
0
answers

Use a.any () or a.all ()

I have this code: from PIL import Image import numpy as np import matplotlib.pyplot as plt import FuncionesFiltros as fun Im = Image.open('build.jpg') Im_a = np.array(Im) plt.figure() plt.imshow(Im_a) plt.title('IMAGEN ORIGINAL') plt.axis("of...
asked by 04.10.2018 / 22:30
1
answer

Merge php with html

I'm starting with this PHP programming and after being fretting a bit doing some things I have a doubt. I leave you an example of code with some conditions where I am fretting: if ($mac_device === null) { echo "-- no se ha encontrado el va...
asked by 09.07.2018 / 12:26
1
answer

conditional to execute query mongo

I have the following code, and I want to know if there is any mongodb function that returns true or false depending on whether the query was executed correctly or not. public function removepopup($id){ $collection = $this->connect()->...
asked by 24.05.2018 / 10:15
1
answer

how can I create a grid from a while loop

I need to create a grid of 8 elements with the name of the items, the quantity and the price with random numbers, I have done this, but I do not know how to use the while loop to form the grid. <table> <tr><td>Nombre</td&g...
asked by 15.04.2018 / 23:50
0
answers

conditional according to previous panda column

I have a Panda DataFrame, and I want that according to the value of the previous column to execute a condition. that is, if the value of column A is equal to 1, execute enter conditional i if it is 0 not enter the conditional. A B C 1 1...
asked by 13.03.2018 / 23:58
1
answer

I have a PHP file to which I need to add validations but every time I add the validations it does not run or not with the parameters

accion1.php: <?php session_start(); $_SESSION['numero']=$_POST['numero']; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Simulacion de compras: Aplicacion 1<...
asked by 31.01.2018 / 19:52
0
answers

conditional on web.config

good afternoon in a project I have a key in web.config depending on the status true or false you must enable a field in my form between a dropdawnlist and a button this is what I have: web.config. <add key="habilitar_boton" value="true"/>...
asked by 02.02.2018 / 19:43
1
answer

Conditional does not work correctly

At the beginning of my page, there is a song that plays automatically. When it ends, it should go to the next song, however I do not understand why it is not doing so, if in my conditional I place it, when the song ends, the next one starts. The...
asked by 13.04.2017 / 15:08
0
answers

Conditions using foreach in C #

I need to do a foreach in C # , in which several conditions must be done like this: a can be of type 1 , 2 , 3 or 4 . b can be of type 1 , 2 , 3 or 4 . The set of...
asked by 10.03.2017 / 21:54