Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions source/controle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ e as demais condições (``elif`` e ``else``) são puladas:
...
é 1

Sumário
--------

.. csv-table::

:header: "Operação", "Descrição"
:widths: auto
:delim: ;

``if <condição>:`` ; Avalia se a condição é verdadeira
``elif <condição>:`` ; Possibilidade de uma segunda condição, caso a primeira não seja atendida
``else:`` ; Só é executado se a condição do ``if`` não foi atendida

Exercícios
----------
Expand Down
15 changes: 15 additions & 0 deletions source/instalacao.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,18 @@ IPython
:align: center

.. _IPython: https://ipython.org

Sumário
--------

.. csv-table::

:header: "Comando", "Descrição"
:widths: auto
:delim: ;

``python --version`` ; Verificar qual a versão do Python instalada
``python3 --version`` ; Verificar se o Python 3 está instalado
``sudo apt install python3`` ; Instalar Python 3 no Ubuntu e no Debian
``sudo pacman -Sy python`` ; Instalar Python no ArchLinux