{
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "#"
      ],
      "id": "151b0863-aae2-46dd-a30c-6d7a19671919"
    },
    {
      "cell_type": "code",
      "execution_count": 1,
      "metadata": {},
      "outputs": [],
      "source": [
        "def f(x, y = 2):\n",
        "    return x + y"
      ],
      "id": "7ee8ea00-ced0-4819-ae7c-99698d0464f7"
    },
    {
      "cell_type": "code",
      "execution_count": 6,
      "metadata": {},
      "outputs": [],
      "source": [
        "def g(x, y = 2):\n",
        "    pass"
      ],
      "id": "16f59f6a-63c0-4a68-a8f2-4aa479608a84"
    },
    {
      "cell_type": "code",
      "execution_count": 9,
      "metadata": {},
      "outputs": [],
      "source": [
        "def h(x, y = 2):\n",
        "    return None"
      ],
      "id": "346cf31a-a733-4f92-9418-c9c864780ec6"
    },
    {
      "cell_type": "code",
      "execution_count": 11,
      "metadata": {},
      "outputs": [
        {
          "output_type": "display_data",
          "metadata": {},
          "data": {
            "text/plain": [
              "NoneType"
            ]
          }
        }
      ],
      "source": [
        "type(None)"
      ],
      "id": "e9c29fb7-4fd5-49f5-8d75-c34ddfa60809"
    },
    {
      "cell_type": "code",
      "execution_count": 7,
      "metadata": {},
      "outputs": [],
      "source": [
        "g(3)"
      ],
      "id": "1996ed69-426f-4f56-b430-771875e85319"
    },
    {
      "cell_type": "code",
      "execution_count": 10,
      "metadata": {},
      "outputs": [],
      "source": [
        "h(3, y = 10)"
      ],
      "id": "4483d741-1a7e-4a4b-a29c-a5f3a08f1ccd"
    },
    {
      "cell_type": "code",
      "execution_count": 3,
      "metadata": {},
      "outputs": [
        {
          "output_type": "display_data",
          "metadata": {},
          "data": {
            "text/plain": [
              "13"
            ]
          }
        }
      ],
      "source": [
        "f(3, y = 10)"
      ],
      "id": "3f49b95a-1d57-4041-a300-b3d3084d17d2"
    },
    {
      "cell_type": "code",
      "execution_count": 4,
      "metadata": {},
      "outputs": [
        {
          "output_type": "display_data",
          "metadata": {},
          "data": {
            "text/plain": [
              "66"
            ]
          }
        }
      ],
      "source": [
        "s = 0\n",
        "for i in range(12):\n",
        "    s += i\n",
        "s"
      ],
      "id": "40acd290-6a01-44ec-ba96-af00cc829a13"
    },
    {
      "cell_type": "code",
      "execution_count": 5,
      "metadata": {},
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "1\n",
            "2\n",
            "3"
          ]
        }
      ],
      "source": [
        "l = [1, 2, 3]\n",
        "for li in l:\n",
        "    print(li)"
      ],
      "id": "3b47661d-5ea5-4a51-bd4d-64d9bc26deda"
    },
    {
      "cell_type": "code",
      "execution_count": 13,
      "metadata": {},
      "outputs": [
        {
          "output_type": "display_data",
          "metadata": {},
          "data": {
            "text/plain": [
              "[1, 2, 3, 2]"
            ]
          }
        }
      ],
      "source": [
        "l + [2]"
      ],
      "id": "b29e90c3-4563-49dc-bda1-c1fb58d232da"
    }
  ],
  "nbformat": 4,
  "nbformat_minor": 5,
  "metadata": {
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3 (ipykernel)",
      "language": "python"
    },
    "language_info": {
      "name": "python",
      "codemirror_mode": {
        "name": "ipython",
        "version": "3"
      },
      "file_extension": ".py",
      "mimetype": "text/x-python",
      "nbconvert_exporter": "python",
      "pygments_lexer": "ipython3",
      "version": "3.12.12"
    }
  }
}