This report contains out basics for python. This course will cover the following:
- Set up
- Datatype: - Strings - Integer - Float - Boolean - Dates and Times - Lists (Collections) - Dictionaries
- Control flow: - ifs - for loop - While loops variable & operators – strings, integers, equating,
- Functions: - DRY - TDD (Test driven development)
- OOP – Object orientated programming: - OOP - Four Pillars - External Packages
- Files and Error Handling
- SQL
- JSON
- HTTP & APIs
- Build API with FLASK
- GIT, GITHUB, DOCUMENTATION with MARKDOWN
##Recap of data types
Define using '' and "".
They are list of characters.
Number and decimals. You can
Defined with [] You add using .append() and you remove entries using .pop().
Use the index to access a record.
$ my_list[4]
> 'iten in list'
Defined using {}
You can add simmple generating a new key pair.
my_dictionary['newkey'] = 'value'
You can access values using it's key.
$ my_dictionary['key']
>'value'