Mapa mental
Python-Strings and Variables
Conteúdo do mapa
Python-Strings and Variables
You must use a set of instructions from the computer to follow
For the computer to solve the problem you must break down the problem into small, simpler tasks this is called: decomposition.
Algorithms are the different, precise steps to solve the problem-a set of instruction
A sequence is the consecutive order in which the computer has to solve the problem
A Syntax error is an error in the source code
In computing, a bug is an error in the coding
IDLE-Integrated Development Environment
- There are two models
- Interactive Mode
- Lets you see your results as you type them
- This ,mode uses the shell window
- Script mode
- Lets you save your program and run it again later
- This mode uses the Editor window
- Interactive Mode
- There are two models
A variable is a name memory location-temporary valuables
Rules 4 variable:
- A variable name can contain only numbers, lytters and underscores
- To make your programs easier to understand, use meaningful names.
- A variable name cannot start with a number
- You can't use a Phython 'reserved word' as a variable name.
- A variable name can contain only numbers, lytters and underscores
Camel case?
Comments allow a programmer in a later date to understand the program.
Functions are special built-in routines that do a specific job.
- Functions appear in purple
- examples of function are: print() and input()
String literals in python are surrounded by either single quotation marks, or double quotation marks.
Decimal-float
Informações
- Descrição
- Year 8 Computing (Phython) Mapa Mental sobre Python-Strings and Variables, criado por janetta danquah em 04-12-2019.
- Criado por
- janetta danquah
- Visualizações
- 3
- Avaliação