Skip to content

Commit b6b5466

Browse files
Merge branch 'master' into python-sequences
2 parents 4a58799 + 88d689a commit b6b5466

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

formatting_floats_f_strings/Code_and_Solutions.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@
600600
"id": "ee286622-ab53-4eb1-8871-68c2c2094b1c",
601601
"metadata": {},
602602
"source": [
603-
"To display the number as required for task 1a, you use `<+12,.2f`. The less than symbol (`<`) causes a left-alignment while the plus symbol (`+`) makes sure a symbol is always displayed. The `12` and `2` define the width and precision, respectively, while the comma (`,`) adds a separator. Finally, the lowercase _`f`_ rounds the output to 2 decimal places."
603+
"To display the number as required for task 4a, you use `<+12,.2f`. The less than symbol (`<`) causes a left-alignment while the plus symbol (`+`) makes sure a symbol is always displayed. The `12` and `2` define the width and precision, respectively, while the comma (`,`) adds a separator. Finally, the lowercase _`f`_ rounds the output to 2 decimal places."
604604
]
605605
},
606606
{
@@ -639,7 +639,7 @@
639639
"id": "d424d3b3-5439-4ebc-8334-5c5c45c96082",
640640
"metadata": {},
641641
"source": [
642-
"To display the number as required for task 1b, you use `< 12,.2f`. By adding a single space between the less than symbol (`<`) and `12`, you still display negative numbers with the negative (`-`) symbol but use a space instead of a plus (`+`) for positive numbers."
642+
"To display the number as required for task 4b, you use `< 12,.2f`. By adding a single space between the less than symbol (`<`) and `12`, you still display negative numbers with the negative (`-`) symbol but use a space instead of a plus (`+`) for positive numbers."
643643
]
644644
},
645645
{
@@ -1496,7 +1496,7 @@
14961496
"name": "python",
14971497
"nbconvert_exporter": "python",
14981498
"pygments_lexer": "ipython3",
1499-
"version": "3.11.0"
1499+
"version": "3.12.0"
15001500
}
15011501
},
15021502
"nbformat": 4,

0 commit comments

Comments
 (0)