Zusammenfassung der Ressource
Python
- World's Fastest Programming language.
Anmerkungen:
- * World's Fastest Programming language.
*used by software engineers, mathematicians, and data analysist.
* can be used for artificial intelligience.
- used by software engineers, mathematicians, and data analysist.
- can be used for artificial intelligience.
- Frying an egg
- 1.Get a frying pan
- 2. Put pan on hob
- 3.Turn on the hob
- 4.Put oil in the pan
- 5.Hold egg over pan
- 6.Break an egg
- What is the lesson we learn from frying an egg
- Algoithm is the different precise steps to solve a problem in computing science
- If coding is all in the right order when solving a problem in computing science- it is called Algorithm
- Algorithm are the simplest steps available
- Algorithm is given to computers to solve the problems
- Dictionary Definition:a process or set of rules
to be followed in calculations or other
problem-solving operations, especially by a
computer.
- Breaking a problem into smaller parts is called DECOMPOSITION
- BY doing this it leads to an algorithm
- Python's developing environment
- is called IDLE- Integrated Development Environment
- Has to modes- interactive and script mode
- Interactive mode lets you see your results as you type them
- Sequencing
- When you do something after the other
- e.g.m=5 n=6 t=m+n print(t)
- Debugging
- Taking the error out of the code
- Facts you need to know
- Python influenced javascript
- People prefer python over french
- Big companies use python
- Errors are called Bugs
- Syntax error
- An error in the source code
- Solves the error in the source code
- Whenever saving a document,save with a.py as the ending.
- Variable
- A variable is a location in the memory which you can temporarily store text or numbers
- It's not permanent because you can change it
- e.g. x=1 y=2 x+y=z so z=3--- this is permanent
- Variables can only contain numbers, letters and underscores
- A variable name cannot start with a number
- You can't use python as a "reserved word" as a variable name will result as a syntax error.