Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Python apuntes de curso de python en diapositivas, Apuntes de Desarrollo de Software

apuntes de Python del curos de python de internet, ingles extencion de video, se puede traducir el archivo

Tipo: Apuntes

2021/2022

Subido el 13/10/2022

elementos-y-archivos
elementos-y-archivos 🇨🇴

2 documentos

1 / 20

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Hello P
y
thon
!
INTRODUCTION TO PYTHON
H
u
go Bo
w
ne
-
Anderson
Data Scientist at DataCamp
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Vista previa parcial del texto

¡Descarga Python apuntes de curso de python en diapositivas y más Apuntes en PDF de Desarrollo de Software solo en Docsity!

Hello Python!

I N T R O D U C T I O N T O P Y T H O N Hugo Bowne-Anderson Data Scientist at DataCamp

How you will learn

IPython Shell

Execute Python commands

IPython Shell

Execute Python commands

Python Script

Text les - .py List of Python commands Similar to typing in IPython Shell

Python Script

DataCamp Interface

Let's practice!

Variable

Specic, case-sensitive name Call up value through variable name 1.79 m - 68.7 kg height = 1. weight = 68. height

Calculate BMI

height = 1. weight = 68. height

BMI = 68.7 / 1.79 ** 2

weight / height ** 2

bmi = weight / height ** 2 bmi

height 2 weight

Reproducibility

height = 1. weight = 74.2 # <- bmi = weight / height ** 2 print(bmi)

Python Types

type(bmi) float day_of_week = 5 type(day_of_week) int

Python Types (3)

2 + 3 5 'ab' + 'cd' 'abcd' Dierent type = dierent behavior!

Let's practice!