bikes = []

if bikes:                                    # Checking that list is not empty.
    for bike in bikes:
        print ('Do you want to buy this bike?')

else:
    print ('This list is empty.')
