Repository navigation
Fix list 2 - #169
Fix list 2#169
Conversation
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "title": "Check Element ID", | |||
| "name": "check_id", | |||
| "name": "check_element_id", | |||
guitarwhal
left a comment
There was a problem hiding this comment.
Good changes, just a few minor things I noticed
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "title": "Check Element ID", | |||
| "name": "check_id", | |||
| "name": "check_element_id", | |||
There was a problem hiding this comment.
Good name change, but I think the directory name should match
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "title": "Median in List", | |||
| "name": "median_num", | |||
| "name": "median_in_list", | |||
There was a problem hiding this comment.
Another good name change, but the directory should match
| @@ -1,7 +1,7 @@ | |||
| { | |||
| "title": "Number of Increasing Sequences", | |||
| "name": "nbr_increasing_sequences", | |||
There was a problem hiding this comment.
I'd suggest num_increasing_sequences and changing the dir name or just changing the function to match
|
|
||
| 1. Rearrange the list in an alphabetical order | ||
|
|
||
| 2. Create a new list in which each student will have a roll number according to the alphabetical order of their names. |
There was a problem hiding this comment.
Nice! This is much more readable!
| **Hint:** Find a way to arrange the list in an increasing order using built-in python functions | ||
|
|
||
| For example: | ||
| - `assign_roll_numbers([“James”, “Eric”, “Antman”]) → [[1, “Antman”], [2, “Eric”], [3, “James”]]` |
There was a problem hiding this comment.
Don't forget to update the example function names to match the new name
| @@ -4,5 +4,7 @@ | |||
There was a problem hiding this comment.
Trailing 's' diff between dir and function
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "title": "Sum of Odd Numbers", | |||
| "name": "sum_of_odd", | |||
| "name": "sum_odd", | |||
There was a problem hiding this comment.
Good name change, but please match dir name
There was a problem hiding this comment.
and ensure the description function name matches the new name if it's in there
| @@ -1,7 +1,7 @@ | |||
| { | |||
| "title": "Upper Even", | |||
| "name": "upper_even_i", | |||
|
@guitarwhal I changed all the directory/function name discrepancies, you can look over the changes one more time if you want to |
Tasks done