Skip to content

Commit d19d0e9

Browse files
authored
Merge pull request #5 from AirbusDriver/patch-1
Update `split_into_first_and_last_name` which was returning None instead of List[str]
2 parents 4112718 + be6b75d commit d19d0e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ print(name) # ['Ryan', 'McDermott']
571571

572572
**Good:**
573573
```python
574-
def split_into_first_and_last_name(name: str) -> None:
574+
def split_into_first_and_last_name(name: str) -> list:
575575
return name.split()
576576

577577
name = 'Ryan McDermott'

0 commit comments

Comments
 (0)