My programing World
A collection of programs and interview questions
Saturday, April 18, 2015
Python 1
#/usr/bin/python
KEY = raw_input()
NUM = raw_input()
LIST = raw_input()
count = 0
LIST_SPLIT = LIST.split()
for i in LIST_SPLIT:
if KEY == i:
print count
count = count + 1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment