Remove semicolons
Remove semicolon in head Remove semicolon in initial Remove semicolons in tail
This commit is contained in:
@ -13,5 +13,5 @@ def head(lst):
|
|||||||
```
|
```
|
||||||
|
|
||||||
```py
|
```py
|
||||||
head([1, 2, 3]); # 1
|
head([1, 2, 3]) # 1
|
||||||
```
|
```
|
||||||
|
|||||||
@ -13,5 +13,5 @@ def initial(lst):
|
|||||||
```
|
```
|
||||||
|
|
||||||
```py
|
```py
|
||||||
initial([1, 2, 3]); # [1,2]
|
initial([1, 2, 3]) # [1,2]
|
||||||
```
|
```
|
||||||
|
|||||||
@ -13,6 +13,6 @@ def tail(lst):
|
|||||||
```
|
```
|
||||||
|
|
||||||
```py
|
```py
|
||||||
tail([1, 2, 3]); # [2,3]
|
tail([1, 2, 3]) # [2,3]
|
||||||
tail([1]); # [1]
|
tail([1]) # [1]
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user