Write a Python script to print out all the leap years from 2001 to 2025.
for year in range(2001,2026):
    # leap year condition
    if((year%4 == 0 and year%100 != 0) or year%400 == 0):
        print(year, end=' ')