Zusammenfassung der Ressource
PYTHON
- worlds fastest programming language
- used by software engineers,mathematicians,data analysists even
kids
- can be used for artificial intelligence
- Algorithm is the different, precise steps to solve a problem in computing.
- Algorithm is given to computers to solve the problem
- If all coding is in the right order when solving a problem in computing, it is called algorithm
- Algorithm would be the simplest steps available
- Breaking down a problem into smaller bits is called DECOMPOSITION
- by doing this it leads to an algorithm
- SEQUENCING
- when you do something one after the other
- PYTHON'S DEVELOPMENT ENVIRONMENT
- is called IDLE - Integrated Development Environment
- has two modes- interactive mode and script mode
- interactive mode lets you see your results as you type them
- DE-BUGGING
- MEANS TAKING ERROR OUT OF THE CODE
- VARIABLE
- A variable is a location in memory which you can temporarily store text or numbers
- its not permanent because we can change it
- e.g. x=1 y=2 x+y=z so z=3 but because we can change the value of x and y and z, it is temporary
- variable can only contain numbers,letters and underscores
- a variable name cannot start with a number
- in python you cant use a python reserved word as a variable name e.g.class is a reserved word so class=input would result in an error
- to make programs easier to understand, use