From ed2237b0b7adb0e1e22d0a3f072c89b36998a6c7 Mon Sep 17 00:00:00 2001 From: DimitrisPapac Date: Mon, 17 Jul 2023 06:38:55 +0200 Subject: [PATCH] Update array-seq.ipynb Fixed ending index for slice SKU and starting index for slice DESCRIPTION to produce correct output. --- 02-array-seq/array-seq.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/02-array-seq/array-seq.ipynb b/02-array-seq/array-seq.ipynb index afdbf6b..30c2691 100644 --- a/02-array-seq/array-seq.ipynb +++ b/02-array-seq/array-seq.ipynb @@ -1304,8 +1304,8 @@ "1601 PiTFT Mini Kit 320x240 $34.95 1 $34.95\n", "\"\"\"\n", "\n", - "SKU = slice(0, 6)\n", - "DESCRIPTION = slice(6, 40)\n", + "SKU = slice(0, 5)\n", + "DESCRIPTION = slice(5, 40)\n", "UNIT_PRICE = slice(40, 52)\n", "QUANTITY = slice(52, 55)\n", "ITEM_TOTAL = slice(55, None)\n", @@ -2803,4 +2803,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}