Editorial for CodeFights


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.

Submitting an official solution before solving the problem yourself is a bannable offence.

This was a fairly easy implementation problem.

TBH This problem was made so we could see people type >:3 and 3:<.

a = input()
n = input()
for i in range(n):
    k = input()
    if abs(a-k) > 100:
        print "go away! 3:<"
    else:
        print "fite me! >:3"

Comments

There are no comments at the moment.