❮ TOC
❯
First steps
- What is Python?
- What is needed to write a program?
- The source (code) of Python
- Python 2 vs. Python 3
- Installation
- Installation on Linux
- Installation on Apple Mac OSX
- Installation on MS Windows
- Installation of Anaconda
- Editors, IDEs
- Documentation
- Program types
- Python on the command line
- First script - hello world
- Examples
- Comments
- Variables
- Exercise: Hello world
- What is programming?
- What are the programming languages
- A written human language
- A programming language
- Words and punctuation matter!
- Types matter to Python (a bit)
- String vs int
- String vs float
- int and float
- Literals, Value Types in Python
- Floating point limitation
- Floating point -compare using round
- round
- Value Types in Numpy
- Rectangle (numerical operations)
- Multiply string
- Add numbers
- Add strings
- Exercise: Calculations
- Solution: Calculations