{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "37972640",
   "metadata": {},
   "source": [
    "# Welcome to Jupyter Notebooks!\n",
    "\n",
    "This is a **notebook** — a mix of text (like this) and code you can actually run, one small piece at a time.\n",
    "\n",
    "A few things to know before you start:\n",
    "- Notebooks are made of **cells**. This one is a *text* cell. The ones below with code in them are *code* cells.\n",
    "- To run a code cell, click into it and press **Shift + Enter**. It runs that cell and jumps to the next one.\n",
    "- Cells run in order, top to bottom — if something's not working, try running earlier cells again first.\n",
    "- You can edit any code cell and re-run it as many times as you want.\n",
    "\n",
    "**Before you start:** save this file into your cloned repo folder, then commit it in GitHub Desktop — that's your practice rep for today's local workflow. Come back and finish the notebook after."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "0425353f",
   "metadata": {},
   "source": [
    "---\n",
    "## 1. Variables & print()\n",
    "\n",
    "Run the cell below, then change the value of `name` to your own name and run it again."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "06c94c5f",
   "metadata": {},
   "outputs": [],
   "source": [
    "name = \"Ms. Smith\"\n",
    "print(\"Hi, I'm \" + name + \"!\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "16b86e8a",
   "metadata": {},
   "source": [
    "**Your turn:** add a second variable below for your favourite subject, and print a sentence using it."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "49b8e88a",
   "metadata": {},
   "outputs": [],
   "source": [
    "# your code here\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "78e5a3bf",
   "metadata": {},
   "source": [
    "---\n",
    "## 2. input()\n",
    "\n",
    "`input()` pauses your program and waits for the person running it to type something. Run this cell and try it."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "293e6ed6",
   "metadata": {},
   "outputs": [],
   "source": [
    "favourite_language = input(\"What programming language are you most curious about? \")\n",
    "print(\"Nice choice — \" + favourite_language + \" is a good one to explore.\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b1160611",
   "metadata": {},
   "source": [
    "---\n",
    "## 3. Conditionals (if / else)\n",
    "\n",
    "Conditionals let your program make decisions. Run this one a few times with different numbers."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b3515b4c",
   "metadata": {},
   "outputs": [],
   "source": [
    "number = 7\n",
    "\n",
    "if number % 2 == 0:\n",
    "    print(str(number) + \" is even.\")\n",
    "else:\n",
    "    print(str(number) + \" is odd.\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "8d82be88",
   "metadata": {},
   "source": [
    "**Your turn:** write a conditional that checks if `number` is greater than 10, and prints a different message for each case."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cfd50a59",
   "metadata": {},
   "outputs": [],
   "source": [
    "number = 15\n",
    "\n",
    "# your code here\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9c6a245f",
   "metadata": {},
   "source": [
    "---\n",
    "## 4. Loops\n",
    "\n",
    "Loops repeat something for every item in a list. Run this one."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "168e4c45",
   "metadata": {},
   "outputs": [],
   "source": [
    "things_i_like = [\"pizza\", \"video games\", \"long walks on the beach\"]\n",
    "\n",
    "for thing in things_i_like:\n",
    "    print(\"I like \" + thing)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6a205d20",
   "metadata": {},
   "source": [
    "**Your turn:** make your own list of 3–5 things (interests, games, songs — your call), and loop over it to print each one."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ef79896d",
   "metadata": {},
   "outputs": [],
   "source": [
    "# your code here\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e5e4a8ca",
   "metadata": {},
   "source": [
    "---\n",
    "## 5. Put it together\n",
    "\n",
    "**Open challenge:** using variables, input(), a conditional, and a loop from above, write a tiny program that:\n",
    "1. Asks the person for their name\n",
    "2. Asks them how many things they want to list\n",
    "3. Loops that many times, asking for one thing each time\n",
    "4. Prints all the things back to them at the end\n",
    "\n",
    "Already comfortable with all of this? Add something you haven't been taught here yet — impress me."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "14736ecd",
   "metadata": {},
   "outputs": [],
   "source": [
    "# your code here\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "64e0896f",
   "metadata": {},
   "source": [
    "---\n",
    "## AI note\n",
    "\n",
    "If you used AI (ChatGPT, Copilot, etc.) for any part of this, jot one line below — what did you ask for, and what did you keep or change? No penalty either way, this just starts the habit."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "adba70de",
   "metadata": {},
   "source": [
    "*Your AI note here.*"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "1a5eb7ce",
   "metadata": {},
   "source": [
    "---\n",
    "### Done?\n",
    "\n",
    "Commit this file again in GitHub Desktop — that's your second local commit for today. Then let me know you're finished."
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "name": "python",
   "version": "3.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
