{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Lesson A4 – Objects" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This section should give a little more insight into what Python *objects* are and how you can handle them. We used the term object already, but it may still appear somewhat cryptic. We will only touch on the very basics and use simplifications here and there. The whole topic itself is pretty advanced. If you want to dive deeper into the fundamentals you may want to start [here](https://docs.python.org/3/tutorial/classes.html)." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "\n", "## Variables" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We have used *variables* already in the previous lessons. We can assign a value to a variable in Python using the equal sign (`=`)." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# Assign to a variable\n", "number = 13.5" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "