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:
parent
0ed024e020
commit
51a5dcc8ee
6 changed files with 45 additions and 67 deletions
|
|
@ -123,7 +123,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"2 ** 3"
|
||||
"2**3"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"2 * 2 ** 3"
|
||||
"2 * 2**3"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue