Mindmap
Python

Inhalt der Mindmap
Python
Algorithm
- Steps to solve a problem.
Decomposition
- Breaking down into steps to solve a problem.
Sequencing
- When actions happens one after the other.
Python idle
- IDLE is an integrated development environment for Python, which has been bundled with the default implementation of the language since 1.5.2b1. It is packaged as an optional part of the Python packaging with many Linux distributions. It is completely written in Python and the Tkinter GUI toolkit.
Variables
- A variable is a memory location, which can temporarily store text or numbers.
- They can only contain numbers, letters and underscores
Python Strings
- String Literals
- String literals in python are surrounded by either single quotation marks, or double quotation marks. You can represent one with the print() function.
- String Literals
Python Language
- Python Language is simple to learn and is used by many companies.
- E.g. NASA, Paint Shop Pro, Google's Search Engine, Civilisation 4 Computer Game, CERD Large Hadron Collider Research and Dropbox.
- Python Language is simple to learn and is used by many companies.
Functions
- Functions are important built-in routines, which do a specific job.
- They appear as purple in Python.
- Examples of them are input() and print()
Programming
- Sequencing instructions
- The sequence order and accuracy is important
Python's development environment
- It's called IDLE (Integrated Development Environment)
- There are two modes (interactive and script mode)
- Interactive mode lets you see your results as you type them. It uses the Shell window.
- Script mode allows you to save your program and run it again later. It uses the Editor window.
Debugging
- (Definition) The process of identifying and removing errors from computer hardware or software
- Syntax errors
- Reading interpreter feedback
Variable naming rules
- Variables must start with a letter or the underscore character
- They cannot begin with numbers
- Variable can only contain alpha-numeric characters and underscores
- A-Z (capitals and lowercase)
- 0-9
- _ (underscores)
- They are case-sensitive
- age, Age and AGE are all different variables
- Variables can have short names...
- such as x and y
- ...or more descriptive names
- including age. carname and total_volume
Computer bugs
- It was thought to have been named after a real bug crawled into somebody's computer and stopped it from working
- 'Bug' refers to an error in programming
"Hello World!
- A programming tradition
- Created to display text on screens
- (Example) In IDLE's Interactive Mode, at the prompt, type: print ("Hello World!"). Press enter and your result will be: Hello World!
Example of code
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Mindmap am Python, erstellt von Anna Lambert am 02/12/2019.
- Erstellt von
- Anna Lambert
- Aufrufe
- 1
- Bewertung