Skip to content

Commit fc832d3

Browse files
committed
Add extraction of characters
at comma indexes in printFromCommaIndex function
1 parent ec0e2ea commit fc832d3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎lines/firstname.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ def printFromCommaIndex(allnames, checkForComma):
6666

6767

6868

69+
charAtEachCommaIndex = [allnames[index] for index in checkForComma]
6970
return charAtEachCommaIndex

‎linesRis/firstname.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ def printFromCommaIndex(allnames, checkForComma):
6666

6767

6868

69+
charAtEachCommaIndex = [allnames[index] for index in checkForComma]
6970
return charAtEachCommaIndex

0 commit comments

Comments
 (0)