{
"cells": [
{
"cell_type": "markdown",
"id": "a8eb4deb",
"metadata": {},
"source": [
"# Header 1\n",
"## Header 2\n",
"### Header 3\n",
"#### header 4\n",
"##### header 5\n",
"###### header 6\n",
"\n",
"
\n",
"\n",
"This paragraph has examples of words in **bold**, *italic* and `inline block code`.\n",
"\n",
"
\n",
"\n",
"[python website](https://docs.python.org/3/)\n",
"\n",
"
\n",
"\n",
"This is an unordered list (RMarkdown will need the space before and after the list items):\n",
"\n",
"* spam\n",
"\n",
"* eggs\n",
"\n",
"* bacon\n",
"\n",
"This is an ordered list (spaces before and after the list items needed here too):\n",
"\n",
"1. one\n",
"\n",
"2. two\n",
"\n",
"3. three\n",
"\n",
"This citation comes from the Python Tutorial:\n",
"\n",
"> Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.\n"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "867dcde0",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"random number 1: 94\n",
"random number 2: 43\n",
"random number 3: 5\n",
"random number 4: 95\n",
"random number 5: 16\n"
]
}
],
"source": [
"import random\n",
"\n",
"\n",
"for number in range(5):\n",
" print(f\"random number {number + 1}:\", random.randint(1,100))"
]
},
{
"cell_type": "markdown",
"id": "bd627f25",
"metadata": {},
"source": [
"# new code\n",
"\n",
"## a new example of markdown\n",
"\n",
"Let's import a dataset and check its first five rows"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "cf8ce277",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
\n", " | dataset | \n", "x | \n", "y | \n", "
---|---|---|---|
0 | \n", "I | \n", "10.0 | \n", "8.04 | \n", "
1 | \n", "I | \n", "8.0 | \n", "6.95 | \n", "
2 | \n", "I | \n", "13.0 | \n", "7.58 | \n", "
3 | \n", "I | \n", "9.0 | \n", "8.81 | \n", "
4 | \n", "I | \n", "11.0 | \n", "8.33 | \n", "