# Define a function to generate Fibonacci numbers up to a certain limit
def fibonacci(limit):
a, b = 0, 1 # Initialize the first two Fibonacci numbers
while a < limit: # Continue generating numbers while 'a' is less than the limit
yield a # Yield the current Fibonacci number
a, b = b, a + b # Update 'a' and 'b' to the next Fibonacci numbers
# Create a Fibonacci generator object with numbers up to 100
fib = fibonacci(100)
# Iterate through the generated Fibonacci numbers and print them
for num in fib:
print(num)