Skip to content

Commit b3c9db4

Browse files
committed
sanitize ranges.
1 parent 1f4c475 commit b3c9db4

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

02-ruby-basics/02.06-ranges.ipynb

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
{
3030
"cell_type": "code",
31-
"execution_count": 51,
31+
"execution_count": 1,
3232
"metadata": {},
3333
"outputs": [
3434
{
@@ -63,7 +63,7 @@
6363
},
6464
{
6565
"cell_type": "code",
66-
"execution_count": 58,
66+
"execution_count": 2,
6767
"metadata": {},
6868
"outputs": [
6969
{
@@ -72,7 +72,7 @@
7272
"[0, 9, 10]"
7373
]
7474
},
75-
"execution_count": 58,
75+
"execution_count": 2,
7676
"metadata": {},
7777
"output_type": "execute_result"
7878
}
@@ -91,7 +91,7 @@
9191
},
9292
{
9393
"cell_type": "code",
94-
"execution_count": 44,
94+
"execution_count": 3,
9595
"metadata": {},
9696
"outputs": [
9797
{
@@ -100,7 +100,7 @@
100100
"[0, 2, 4, 6, 8]"
101101
]
102102
},
103-
"execution_count": 44,
103+
"execution_count": 3,
104104
"metadata": {},
105105
"output_type": "execute_result"
106106
}
@@ -123,7 +123,7 @@
123123
},
124124
{
125125
"cell_type": "code",
126-
"execution_count": 34,
126+
"execution_count": 4,
127127
"metadata": {},
128128
"outputs": [
129129
{
@@ -154,7 +154,7 @@
154154
},
155155
{
156156
"cell_type": "code",
157-
"execution_count": 22,
157+
"execution_count": 5,
158158
"metadata": {},
159159
"outputs": [
160160
{
@@ -188,7 +188,7 @@
188188
},
189189
{
190190
"cell_type": "code",
191-
"execution_count": 63,
191+
"execution_count": 6,
192192
"metadata": {},
193193
"outputs": [
194194
{
@@ -225,7 +225,7 @@
225225
},
226226
{
227227
"cell_type": "code",
228-
"execution_count": 3,
228+
"execution_count": 7,
229229
"metadata": {},
230230
"outputs": [
231231
{
@@ -234,7 +234,7 @@
234234
"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]"
235235
]
236236
},
237-
"execution_count": 3,
237+
"execution_count": 7,
238238
"metadata": {},
239239
"output_type": "execute_result"
240240
}
@@ -246,7 +246,7 @@
246246
},
247247
{
248248
"cell_type": "code",
249-
"execution_count": 6,
249+
"execution_count": 8,
250250
"metadata": {},
251251
"outputs": [
252252
{
@@ -255,7 +255,7 @@
255255
"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]"
256256
]
257257
},
258-
"execution_count": 6,
258+
"execution_count": 8,
259259
"metadata": {},
260260
"output_type": "execute_result"
261261
}
@@ -266,7 +266,7 @@
266266
},
267267
{
268268
"cell_type": "code",
269-
"execution_count": 7,
269+
"execution_count": 9,
270270
"metadata": {},
271271
"outputs": [
272272
{
@@ -275,7 +275,7 @@
275275
"[0, 3, 6, 9, 12, 15, 18, 21, 24, 27]"
276276
]
277277
},
278-
"execution_count": 7,
278+
"execution_count": 9,
279279
"metadata": {},
280280
"output_type": "execute_result"
281281
}
@@ -286,7 +286,7 @@
286286
},
287287
{
288288
"cell_type": "code",
289-
"execution_count": 9,
289+
"execution_count": 10,
290290
"metadata": {},
291291
"outputs": [
292292
{
@@ -295,7 +295,7 @@
295295
"[0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96]"
296296
]
297297
},
298-
"execution_count": 9,
298+
"execution_count": 10,
299299
"metadata": {},
300300
"output_type": "execute_result"
301301
}
@@ -306,7 +306,7 @@
306306
},
307307
{
308308
"cell_type": "code",
309-
"execution_count": 10,
309+
"execution_count": 11,
310310
"metadata": {},
311311
"outputs": [
312312
{
@@ -315,7 +315,7 @@
315315
"[0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84, 90, 96]"
316316
]
317317
},
318-
"execution_count": 10,
318+
"execution_count": 11,
319319
"metadata": {},
320320
"output_type": "execute_result"
321321
}
@@ -327,7 +327,7 @@
327327
},
328328
{
329329
"cell_type": "code",
330-
"execution_count": 16,
330+
"execution_count": 12,
331331
"metadata": {},
332332
"outputs": [
333333
{
@@ -336,7 +336,7 @@
336336
"[8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]"
337337
]
338338
},
339-
"execution_count": 16,
339+
"execution_count": 12,
340340
"metadata": {},
341341
"output_type": "execute_result"
342342
}
@@ -363,7 +363,7 @@
363363
},
364364
{
365365
"cell_type": "code",
366-
"execution_count": 20,
366+
"execution_count": 13,
367367
"metadata": {},
368368
"outputs": [
369369
{
@@ -372,7 +372,7 @@
372372
"true"
373373
]
374374
},
375-
"execution_count": 20,
375+
"execution_count": 13,
376376
"metadata": {},
377377
"output_type": "execute_result"
378378
}
@@ -383,7 +383,7 @@
383383
},
384384
{
385385
"cell_type": "code",
386-
"execution_count": 21,
386+
"execution_count": 14,
387387
"metadata": {},
388388
"outputs": [
389389
{
@@ -392,7 +392,7 @@
392392
"true"
393393
]
394394
},
395-
"execution_count": 21,
395+
"execution_count": 14,
396396
"metadata": {},
397397
"output_type": "execute_result"
398398
}
@@ -403,7 +403,7 @@
403403
},
404404
{
405405
"cell_type": "code",
406-
"execution_count": 22,
406+
"execution_count": 15,
407407
"metadata": {},
408408
"outputs": [
409409
{
@@ -412,7 +412,7 @@
412412
"false"
413413
]
414414
},
415-
"execution_count": 22,
415+
"execution_count": 15,
416416
"metadata": {},
417417
"output_type": "execute_result"
418418
}
@@ -423,7 +423,7 @@
423423
},
424424
{
425425
"cell_type": "code",
426-
"execution_count": 23,
426+
"execution_count": 16,
427427
"metadata": {},
428428
"outputs": [
429429
{
@@ -453,7 +453,7 @@
453453
},
454454
{
455455
"cell_type": "code",
456-
"execution_count": 19,
456+
"execution_count": 17,
457457
"metadata": {},
458458
"outputs": [
459459
{
@@ -463,16 +463,16 @@
463463
" user system total real\n",
464464
"array( 10)\t 0.000000 0.000000 0.000000 ( 0.000009)\n",
465465
"range( 10)\t 0.000000 0.000000 0.000000 ( 0.000009)\n",
466-
"array( 100)\t 0.000000 0.000000 0.000000 ( 0.000011)\n",
467-
"range( 100)\t 0.000000 0.000000 0.000000 ( 0.000007)\n",
468-
"array( 1000)\t 0.000000 0.000000 0.000000 ( 0.000113)\n",
469-
"range( 1000)\t 0.000000 0.000000 0.000000 ( 0.000008)\n",
470-
"array( 10000)\t 0.000000 0.000000 0.000000 ( 0.000874)\n",
471-
"range( 10000)\t 0.000000 0.000000 0.000000 ( 0.000010)\n",
472-
"array( 100000)\t 0.000000 0.000000 0.000000 ( 0.005782)\n",
473-
"range( 100000)\t 0.000000 0.000000 0.000000 ( 0.000010)\n",
474-
"array(1000000)\t 0.070000 0.000000 0.070000 ( 0.062190)\n",
475-
"range(1000000)\t 0.000000 0.000000 0.000000 ( 0.000012)\n",
466+
"array( 100)\t 0.000000 0.000000 0.000000 ( 0.000018)\n",
467+
"range( 100)\t 0.000000 0.000000 0.000000 ( 0.000027)\n",
468+
"array( 1000)\t 0.000000 0.000000 0.000000 ( 0.000136)\n",
469+
"range( 1000)\t 0.000000 0.000000 0.000000 ( 0.000036)\n",
470+
"array( 10000)\t 0.000000 0.000000 0.000000 ( 0.000739)\n",
471+
"range( 10000)\t 0.000000 0.000000 0.000000 ( 0.000018)\n",
472+
"array( 100000)\t 0.010000 0.000000 0.010000 ( 0.005997)\n",
473+
"range( 100000)\t 0.000000 0.000000 0.000000 ( 0.000016)\n",
474+
"array(1000000)\t 0.060000 0.000000 0.060000 ( 0.069126)\n",
475+
"range(1000000)\t 0.000000 0.000000 0.000000 ( 0.000013)\n",
476476
"That's All!\n"
477477
]
478478
}

0 commit comments

Comments
 (0)