PROGRAMACIÓN
Datos Simples
02
- Numericos
- Booleanos
- Cadenas
Tamaño Variables sin limites
<Class 'int'>
Enteros:
Sin decimales. Positivos Negativos Cero
5 3 12 250 -3 -12 -25
Función
type(<var>)
>>> type (1) >>> type (12) >>> type (-24) >>> type (0)
<Class 'float'>
Float:
CON decimales. Positivos Negativos Cero (0.0)
5,22 3,11 12,1 0,0 -3,23 -12,3
>>> type (1.1) >>> type (1.2) >>> type (-2.4) >>> type (0.0)
<Class 'bool'>
Booleano:
True
False
Verdadero
Falso
>>> type (true) >>> type (False) >>> Var_B = True >>> type (Var_B)
Indica cual de estas opciones son variable booleanas aceptadas en Python.
True
false
Verdadero
Verdad
CONECTATE
Nos vemos en el próximo episodio....
425K
GRACIAS
Python - T2 Datos Simples
developerpeople
Created on February 13, 2022
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Geniaflix Presentation
View
Vintage Mosaic Presentation
View
Shadow Presentation
View
Newspaper Presentation
View
Zen Presentation
View
Audio tutorial
View
Pechakucha Presentation
Explore all templates
Transcript
PROGRAMACIÓN
Datos Simples
02
Tamaño Variables sin limites
<Class 'int'>
Enteros:
Sin decimales. Positivos Negativos Cero
5 3 12 250 -3 -12 -25
Función
type(<var>)
>>> type (1) >>> type (12) >>> type (-24) >>> type (0)
<Class 'float'>
Float:
CON decimales. Positivos Negativos Cero (0.0)
5,22 3,11 12,1 0,0 -3,23 -12,3
>>> type (1.1) >>> type (1.2) >>> type (-2.4) >>> type (0.0)
<Class 'bool'>
Booleano:
True
False
Verdadero
Falso
>>> type (true) >>> type (False) >>> Var_B = True >>> type (Var_B)
Indica cual de estas opciones son variable booleanas aceptadas en Python.
True
false
Verdadero
Verdad
CONECTATE
Nos vemos en el próximo episodio....
425K
GRACIAS