{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "16fdd8f7",
   "metadata": {},
   "source": [
    "# 13-10 · Procedura przywoływania\n",
    "\n",
    "Praktyka do sekcji [„Co się dzieje podczas wezwania”"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b74c6aed",
   "metadata": {},
   "source": [
    "## Cel\n",
    "\n",
    "Przewiduj kolejność wyjścia w momencie wywołania funkcji."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "25595e11",
   "metadata": {},
   "source": [
    "## Podstawowa praktyka zadań ★\n",
    "\n",
    "Przewidź kolejność linii przed wyzwalaniem."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "b17d73c2",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2026-08-17T18:53:51.520799Z",
     "iopub.status.busy": "2026-08-17T18:53:51.520697Z",
     "iopub.status.idle": "2026-08-17T18:53:51.536758Z",
     "shell.execute_reply": "2026-08-17T18:53:51.536326Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Старт\n",
      "A1\n",
      "B\n",
      "A2\n",
      "Конец\n"
     ]
    }
   ],
   "source": [
    "def b():\n",
    "    print(\"B\")\n",
    "\n",
    "def a():\n",
    "    print(\"A1\")\n",
    "    b()\n",
    "    print(\"A2\")\n",
    "\n",
    "print(\"Старт\")\n",
    "a()\n",
    "print(\"Конец\")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Cartesian Python 3.14",
   "language": "python",
   "name": "cartesian-python314"
  },
  "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.14.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
