Run black on all the notebooks

- we use black's default settings
- some cells are NOT kept in black's format to:
  - increase readability
  - or show Python's flexibility with regard to style
This commit is contained in:
Alexander Hess 2024-07-15 12:07:47 +02:00
commit 51a5dcc8ee
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
6 changed files with 45 additions and 67 deletions

View file

@ -123,7 +123,7 @@
}
],
"source": [
"2 ** 3"
"2**3"
]
},
{
@ -143,7 +143,7 @@
}
],
"source": [
"2 * 2 ** 3"
"2 * 2**3"
]
},
{

View file

@ -385,7 +385,7 @@
],
"source": [
"for number in numbers:\n",
" square = number ** 2\n",
" square = number**2\n",
" print(\"The square of\", number, \"is\", square)"
]
},