Lecture 1: Introduction
Contents
Lecture 1: Introduction#
In Lecture 1 we’ll be given you an introduction to python. You will learn:
How to access and use Google Colab
How to use arithmetic operators in Python
How to create amd assign values to variables in python
How to use comparison operators in python
How to recognize an Error
The weekly tasks are split up into a series of sequential notebooks. Any of these can be opened below by clicking on them. Some of these are interactive notebooks, where you will run and/or write code in the cells. To open any of the notebooks interactively, first click on the section, then click on the rocket and select “Colab”.
Weekly tasks#
- A quick look at the Colab/Jupyter interface
- Getting started - Python objects, basic types, and variables
- INTERACTIVE: Checking object types in Python
- INTERACTIVE: Checking object types in Python - SOLVED
- Python Main Operators
- Arithmetic Operators - Interactive exercises
- Arithmetic Operators - Interactive exercises - SOLVED
- Operations with different types
- Variables - an interactive introduction
- Variables - an interactive introduction - SOLVED
- Swapping Variables
- Comparison operators - interactively introduced
- The string type - interactive
- The string type - interactive - SOLVED
- Type Conversion - A quick interactive intro
- Type Conversion - A quick interactive intro - SOLVED
- Errors
- Summary
- Summary exercises
- Summary exercises - SOLVED