We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8187b4 commit 1146445Copy full SHA for 1146445
Data Structures and Algorithms/len_nth_word_from_end.py
@@ -30,7 +30,6 @@ def len_nth_word_from_end_1(str, num):
30
# checks the length of the nth word from the end using split
31
def len_nth_word_from_end_2(str, num):
32
ls = str.split(" ")
33
- print(ls)
34
plc = -1
35
word_num = 0
36
while plc >= -1 * len(ls):
0 commit comments