##Python 3, <s>53 51 50</s> 49 bytes

    [print(n)for n in range(1,101)if'2'not in str(n)]

Not the strongest language for this task, but I'm new to golfing.

Thanks to the commenters for their tips!