{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "026c6a3a",
   "metadata": {},
   "source": [
    "# pH classification"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "24e1c54e",
   "metadata": {},
   "outputs": [],
   "source": [
    "pH = float(input('Give the pH measurement: '))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "2b4fe34a",
   "metadata": {},
   "outputs": [],
   "source": [
    "print(pH)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d7e77fa3",
   "metadata": {},
   "outputs": [],
   "source": [
    "if pH < 7:\n",
    "    print(\"Acidic solution\")\n",
    "elif pH == 7:\n",
    "    print(\"Neutral solution\")\n",
    "else:\n",
    "    print(\"Basic solution\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "12fc23b7",
   "metadata": {},
   "outputs": [],
   "source": [
    "if pH < 7:\n",
    "    print(\"Acidic solution\")\n",
    "else:\n",
    "    if pH == 7:\n",
    "        print(\"Neutral solution\")\n",
    "    else:\n",
    "        print(\"Basic solution\")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "undefined.undefined.undefined"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
