# Iterate over elements of vector using for-loop

* for
* in

* We can iterate over the elements of a vector using the `for .. in ..` loop construct.

{% embed include file="src/examples/vectors/numbers-iterate/src/main.rs" %}
{% embed include file="src/examples/vectors/numbers-iterate/out.out" %}


