PYTHON
- Crear una frase que salga por pantalla
print (“Good morning!”)
phrase=”Good morning!”
print (phrase)
- Create a program that prints the sum of two values, stored in variables.
value_1=5
value_2=2
print (value_1+value_2)
-
- Ejercicio 3
Abrir archivo
Decir que es un fichero csv
Para cada linea hacer x
Day_week convertir a numero
-----------------------
CONDICIONALES
coger valor de la columna
quitar los puntos
Ejercicio 3
1. Abrir file
2. Initialize variables = 0
3. Leer file
4. Get value
5. Value > 300.000 → +1
6. Print