Translated comments for 'and' and 'or' examples (#30051)

pull/32834/head^2
lindsaysofia 2019-08-13 07:02:02 -07:00 committed by Randell Dawson
parent 11c74bee7c
commit 2889d6d95a
1 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ Operacion | Resultado | Notas
\--------- | ------------------------------------ | -----
x o y | si x es falso, entonces y, si no x | (1)
x y y | si x es falso, entonces x, si no y | (2)
no x si x es falso, entonces verdadero, sino falso | (3)
no x | si x es falso, entonces verdadero, sino falso | (3)
**Notas:**
@ -32,21 +32,21 @@ no x si x es falso, entonces verdadero, sino falso | (3)
### `and` :
```
>>> True and False # Short-circuited at first argument.
>>> True and False # Evalúa el segundo argumento.
False
>>> False and True # Second argument is evaluated.
>>> False and True # No evalúa el segundo argumento.
False
>>> True and True # Second argument is evaluated.
>>> True and True # Evalúa el segundo argumento.
True
```
### `or` :
```
>>> True or False # Short-circuited at first argument.
>>> True or False # No evalúa el segundo argumento.
True
>>> False or True # Second argument is evaluated.
>>> False or True # Evalúa el segundo argumento.
True
>>> False or False # Second argument is evaluated.
>>> False or False # Evalúa el segundo argumento.
False
```
```