Zusammenfassung der Ressource
Python-coding
- sequences
- particular order for things to be done in
- computer follows the task in order
- algorithms
- steps must be in order
- a procedure
- like a recipe
- small steps/calculations/tasks to be completed
for a problem
- Benefits:
- allows you to focus on core
functionality by taking care of common
programming tasks
- is powerful and fast
- runs everywhere
- easy to learn
- Uses:
- developing desktop applications
- websites
- web applications
- comments
- appear in red
- must start with a hashtag
- a high-level general purpose programming language
- created by Guido Van Rossum
- .py
- saves as a python document
- so the computer opens the correct software
- 3 basic
programming
structure
- selection
- sequence
- loop
- strings
- string literals
- either single or double quotation marks
- display with the "print" function
- assigning string to variables
- done with the variable name followed by the equal sign and the string
- Multiline strings
- strings are arrays