You are viewing a single comment's thread. Return to all comments →
Python 3
import re n = int(input()) counter = 0 for _ in range(n): tweet = input() if re.search(r"hackerrank", tweet, re.IGNORECASE): counter += 1 print(counter)
Seems like cookies are disabled on this browser, please enable them to open this website
HackerRank Tweets
You are viewing a single comment's thread. Return to all comments →
Python 3