There is a slightly better way (even if I also think it is not better than using remove() )
print([v for v in l if v != 2])