#37 : DefaultDict Tutorial | Hackerrank Python Solutions

preview_player
Показать описание
Thanks if u r Watching us....
#Python #Dev19 #Hackerrank #Programmers #Python3 #C #C++ #Java #Python #C
Please Subscribe Us ....
Рекомендации по теме
Комментарии
Автор

This solution and explanation is so good but the volume is so low that I can't listen it properly even with the headphones but nice explanation thanks

pranjalnama
Автор

*_I'm watching this video at dawn time.It's 4:00 am right now.Because, yeasterday I could not hear volume of this video properly.But now I'm watching this only because of his nice explanation. Take love from Bangladesh._*

avilashbhowmik
Автор

A, B = map(int, input().split())
List = []
for i in range(A):
s = input().rstrip()
List.append(s)
for i in range(B):
s = input().rstrip()
indices = [index + 1 for index, value in enumerate(List) if value == s]
if indices:
print(' '.join(map(str, indices)))
else:
print(-1)

ridayefatima-wi
Автор

In For loop Input taken as rstrip() why taken like this and what is the use of the rstrip

deepthik
Автор

your explanation of line 11 is so confusing....you could have simply explained it in hindi

travel_ghost
visit shbcf.ru