title: How to delete an element from a list in Julia?
body: <pre><code>v = range(1e10, -1e10, step=-1e8) # velocities [cm/s]
  deleteat!(v, findall(x-&gt;x==0,v))
  </code></pre>
  <p>I want to delete the value <code>0</code> from <code>v</code>. Following <a href="https://julia.school/julia/arrays/#how-to-remove-an-item-from-a-julia-array-by-index-number" rel="noreferrer">this tutorial</a>, I tried <code>deleteat!</code> but I get the error</p>
  <pre><code>MethodError: no method matching deleteat!(::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}, ::Vector{Int64})
  </code></pre>
  <p>What am I missing here?</p>