{ "cells": [ { "cell_type": "markdown", "id": "9dcb46f7", "metadata": {}, "source": [ "# Esse é o meu título\n", "\n", "Essa linha cria uma variável `a`." ] }, { "cell_type": "markdown", "id": "be0d3296", "metadata": {}, "source": [ "Essa linha tem o valor da variável `a` em dobro" ] }, { "cell_type": "code", "execution_count": 7, "id": "f279e39a", "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/plain": [ "2" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "a = 2\n", "a" ] }, { "cell_type": "code", "execution_count": 8, "id": "1f5d7348", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "4" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "b = a * 2\n", "b" ] }, { "cell_type": "markdown", "id": "9c7f93b9", "metadata": {}, "source": [ "Essa linha mostra o valor de `a` + `b`" ] }, { "cell_type": "code", "execution_count": 9, "id": "6b735c9e", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "6" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "a + b" ] }, { "cell_type": "code", "execution_count": null, "id": "20fba249", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.1" } }, "nbformat": 4, "nbformat_minor": 5 }