Want to create interactive content? It’s easy in Genially!

Get started free

Python - T2 Datos Simples

developerpeople

Created on February 13, 2022

Start designing with a free template

Discover more than 1500 professional designs like these:

Geniaflix Presentation

Vintage Mosaic Presentation

Shadow Presentation

Newspaper Presentation

Zen Presentation

Audio tutorial

Pechakucha Presentation

Transcript

PROGRAMACIÓN

Datos Simples

02

  • Numericos
    • Enteros
    • Float
  • 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