Download for Windows Premium
Publiciteit
El bucle while
while loop
the while-loop
El siguiente programa trata de los diferentes usos de los que hemos hablado sobre el bucle while.
Here's a program that covers the different uses of the while loop that we just talked about.
Esto nos lleva a la siguiente plantilla para la versión con el bucle while de esta función
This leads us to the following template for the while loop version of this function
El bucle while continuará ejecutándose mientras la condición en el paréntesis sea true.
A while loop will continue to execute as long as the condition in the parenthesis is logically true.
Si no coincide con ningún patrón se toma la acción por defecto (default), si la hay. switch (cadena) case patron1: comandos breaksw case patron2: comandos breaksw... default: comandos breaksw endsw El bucle while evalúa una expresión.
If nothing matches, the default action, if there is one, is taken. switch (string) case pattern1: commands breaksw case pattern2: commands breaksw... default: commands breaksw endsw The while statement evaluates an expression.
El bucle while requiere un contador para registrar las palabras o símbolos que se están contando.
The while loop requires a counter to keep track of the words or symbols being counted.
El bucle while se usa cuando se desea ejecutar un fragmento de código repetidamente hasta que la condición while se evalúa como falsa.
The while loop is used when you want to execute a piece of code repeatedly until the while condition evaluates to false.
El bucle while se usa generalmente cuando no se sabe la cantidad de iteraciones que se llevarán a cabo en un bucle.
The while loop is generally used when you don't know the number of iterations that are going to take place in a loop.
El bucle while se repite; pero esta vez el valor del punto es mayor al valor de fin, el bucle termina; y la función muestra un mensaje diciendo que el número de palabras en la región es uno.
The while loop repeats; but this time the value of point is larger than the value of end, the loop is exited; and the function displays a message saying the number of words in the region is one.
El bucle while en Python opera básicamente como lo hace en otros lenguajes de programación, iterando una cantidad indefinida de veces y comprobando una condición antes de cada iteración.
The while loop in Python works much as it does in many other programming languages, by looping an indefinite number of times and testing a condition before each iteration.
El bucle while(1) sería equivalente al void loop(){} del entorno de Arduino, lo que metamos dentro de este bucle se va a ejecutar de forma repetitiva, ya que la condición del bucle ("1") siempre es cierta.
The while(1) loop equates to void loop(){} in Arduino, what goes in that loop executes endlessly, since the condition given to the while ("1") is always true.
BUCLE WHILE El bucle while aparece cuando el número de iteraciones no está especificado.
The while loop is implemented when the number of iterations is not specified.
El bucle while es como nuestro primer ejemplo (Consulta la Sección Un bucle while y una lista).
The while loop is just like our first example (see Section A while Loop and a List).
Algunas veces estos son mas rápidos de escribir que el bucle while equivalente.
Sometimes these are quicker to write than the equivalent while loop.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor El bucle while in het Spaans

Publiciteit

Suggesties

Resultaten: 49. Exact: 49. Verstreken tijd: 48 ms.