Skip to content
Merged
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
8 changes: 4 additions & 4 deletions content/exercise.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"<center>\n",
" \n",
"# Python Crash Course\n",
"# Excercises\n",
"# Exercises\n",
" \n",
"</center>"
]
Expand All @@ -20,7 +20,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Excercise 1: Energy Levels of Hydrogen"
"## Exercise 1: Energy Levels of Hydrogen"
]
},
{
Expand Down Expand Up @@ -162,11 +162,11 @@
"id": "aOOniBHH40t1"
},
"source": [
"## Exercise 2: Primes numbers\n",
"## Exercise 2: Prime numbers\n",
"\n",
"In this exercise we will try to create a list of prime numbers. Assume we have a given number $N=100$, define it as a variable `N`.\n",
"\n",
"- Create a list of integers from 2, 3, ... to `N`. Let's call this list `l_nums`. Is the list sorted? if not, sort it.\n",
"- Create a list of integers from 2, 3, ... to `N`. Let's call this list `l_nums`. Is the list sorted? If not, sort it.\n",
" \n",
"- Using a `for` loop, and `if else...` constructs, implement following: \n",
" - Take the first element of the list, and remove all the higher multiples of it from the list.\n",
Expand Down
Loading