Optimize a code snippet written in Python. The code snippet should create a list of numbers from 0 to 10 that are divisible by 2.
arr = []
for i in range(10):
 if i % 2 == 0:
 arr.append(i)
arr = [i for i in range(11) if i % 2 == 0]