Skip to content

Commit da959a8

Browse files
Update errata.md
1 parent c8e9a28 commit da959a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

errata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ else:
2222
There should be `//` in place of `/`
2323

2424
Incorrect code is:
25-
```
25+
```python
2626
mid = start + (end - start)/2
2727
if arr[mid] == key:
2828
return mid
2929
```
3030
Correct code is:
31-
```
31+
```python
3232
mid = start + (end - start)//2
3333
if arr[mid] == key:
3434
return mid

0 commit comments

Comments
 (0)