Skip to content

Instantly share code, notes, and snippets.

@djadmin
Created August 23, 2013 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djadmin/6316370 to your computer and use it in GitHub Desktop.
Save djadmin/6316370 to your computer and use it in GitHub Desktop.
HackerRank's hackerrank-tweets problem https://www.hackerrank.com/challenges/hackerrank-tweets
count=0
for i in xrange(input()):
text=str(raw_input())
if 'hackerrank' in text.lower():
count+=1
print count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment