magicnumber=62 for n in range(101): if n is magicnumber: print(n, "is the magic number") break else: print(n)