title: How to covert an array of type Float to Any in Julia?
body: <p>I would like to convert an array to a <code>python like list</code> in Julia.</p>
  <p>To create an array of <code>type</code> <code>Any</code> one may initialize an empty array with this syntax <code>array = []</code>. However if I want to perform conversion, i.e. lets take an array of type <code>Array(Float64,1)</code> to type <code>Any</code>, what would be the correct approach?</p>
  <p>Or If there are any alternate approaches to create a list in Julia?</p>
  <p>My approach to create a function which takes an array and convert it to type any:</p>
  <pre><code>function list(x)
      x = convert(Any, x)
      return x
  end
  
  x_test = [0.19, 0.03, 0.27]
  t1 = typeof(x_test)
  println(&quot;type of x_test is: $t1&quot;)
  x_test = list(x_test)
  t2 = typeof(x_test)
  println(&quot;type of x_test is: $t2&quot;)
  
  Output:
  type of x_test is: Array{Float64,1}
  type of x_test is: Array{Float64,1}
  </code></pre>
  <p>Please suggest a method or solution to achieve this conversion task.</p>
  <p>Thanks.</p>