Mapa mental
PYTHON
Contenido del mapa
PYTHON
decomposition
- breaking down the problem into smaller simpler steps
algorithm
- sequencing instructions
- strings
- string literals
- print("hello")
- string to a variable
- a="hello"
- print (a)
- a="hello"
- strings are arrays
- https://www.w3schools.com/python/showpython.asp?filename=demo_string1
- slicing
- b = "Hello, World!"
- print(b[2:5])
- the outcome
- llo
- the outcome
- print(b[2:5])
- b = "Hello, World!"
- negetive indexing
- string literals
- strings
- functions
- functions are special built-in routines that do a specific job
- functions appear in purple
- sequencing instructions
debugging
- fixing the mistakes
- print (hello)
- incorrect
- syntax error
- print ("hello")
- correct
- print (hello)
- fixing the mistakes
variables
- a reserved memory location to store values
- names of variables
- cannot start with a number
- a variable name can contain only numbers, letters and underscores
- can't use a python "reserved word" as a variable name otherwise it will result in a syntax error
comments
- comments are used to document your program and make it easier to understand your code
- comments usually start with
- comments usually start with
- comments are used to document your program and make it easier to understand your code
Información
- Descripción
- Mapa Mental sobre PYTHON, creado por Abisnavi Sivakumar el 04/12/2019.
- Creado por
- Abisnavi Sivakumar
- Visitas
- 2
- Valoración