Skip to content
Open
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
60 changes: 58 additions & 2 deletions Lesson_1_Python_basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/aliawofford9317/LSAMP_Python_Course2024/blob/main/Lesson_1_Python_basics.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
"<a href=\"https://colab.research.google.com/github/aliawofford9317/LSAMP_Python_Course2024/blob/awells_2024/Lesson_1_Python_basics.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
Expand All @@ -30,6 +30,30 @@
"All along the lessons you will see comments on the code starting with `#`, these are comment lines and are used to describe what the code is doing"
]
},
{
"cell_type": "code",
"source": [
"print(\"Test1\")"
],
"metadata": {
"id": "puGBUv0gVvGQ",
"outputId": "8a52b530-a040-4961-d76f-ffd2650f8e4a",
"colab": {
"base_uri": "https://localhost:8080/"
}
},
"id": "puGBUv0gVvGQ",
"execution_count": null,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Test1\n"
]
}
]
},
{
"cell_type": "markdown",
"id": "d927a42b",
Expand Down Expand Up @@ -3695,7 +3719,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "311dbb98",
"metadata": {
"id": "311dbb98",
Expand Down Expand Up @@ -3734,6 +3758,38 @@
" - a / b"
]
},
{
"cell_type": "code",
"source": [
"a = input('Enter your value ')\n",
"b = input('Enter your value ')\n",
"print(a)\n",
"print(b)\n",
"print(\"A+B: \", a + b)"
],
"metadata": {
"id": "9fynGCVibmMW",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "5dc75c0d-2eb0-43ee-b0eb-3e5130faa686"
},
"id": "9fynGCVibmMW",
"execution_count": 5,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Enter your value 2\n",
"Enter your value 3\n",
"2\n",
"3\n",
"A+B: 23\n"
]
}
]
},
{
"cell_type": "markdown",
"id": "c9cf9f05",
Expand Down
Loading