Skip to content

Commit 3726e3e

Browse files
authored
Update README.md
1 parent 245136b commit 3726e3e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
# `08.1` Merge List:
1+
# `08.1` Merge List
22

33
Since we live in a new world, there should be no colors or labels, right?
44

5-
## 📝Instructions:
5+
## 📝 Instructions:
66

7-
Write a function that merges two list and returns a single new list (`merge_list`) merging all the values of both lists.
7+
Write a function that merges two lists and returns a single new list (`merge_list`) merging all the values of both lists.
88

99
1. Declare an empty list.
1010

11-
2. Loop the two list.
11+
2. Loop the two lists.
1212

13-
3. Concatenate the result in an empty lists.
13+
3. Concatenate the results in an empty list.
1414

15-
4. Print the variable with two list.
15+
4. Print the new variable with the merged lists.
1616

1717
## 💡 Hint:
1818

1919
- You will have to loop through each list and insert their items into a new list.
2020

21-
## Expected result:
21+
## 💻 Expected result:
2222

2323
```py
24-
The console expected:
25-
['Lebron', 'Aaliyah', 'Diamond', 'Dominique', 'Aliyah', 'Jazmin', 'Darnell', 'Lucas', 'Jake', 'Scott', 'Amy', 'Molly', 'Hannah', 'Lucas']
24+
The console expected:
25+
26+
['Lebron', 'Aaliyah', 'Diamond', 'Dominique', 'Aliyah', 'Jazmin', 'Darnell', 'Lucas', 'Jake', 'Scott', 'Amy', 'Molly', 'Hannah', 'Lucas']
2627
```
2728

0 commit comments

Comments
 (0)