You've already forked Curso-lenguaje-python
Restructure content and add notes from HolaMundo
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
23
python-total/dia_04/01_operadores_comparacion.py
Normal file
23
python-total/dia_04/01_operadores_comparacion.py
Normal file
@@ -0,0 +1,23 @@
|
||||
"""
|
||||
Operadores de comparación
|
||||
|
||||
== igual a
|
||||
!= diferente a
|
||||
> mayor que
|
||||
< menor que
|
||||
>= mayor o igual que
|
||||
<= menor o igual que
|
||||
|
||||
"""
|
||||
|
||||
mi_bool = 5 >= 6
|
||||
print(mi_bool)
|
||||
|
||||
mi_bool = 5 != 6
|
||||
print(mi_bool)
|
||||
|
||||
mi_bool = 10 == 2*5
|
||||
print(mi_bool)
|
||||
|
||||
mi_bool = 5 < 6
|
||||
print(mi_bool)
|
||||
Reference in New Issue
Block a user