I would argue that Julia can be similarly flexible than Python, but you have to be more explicit that you need this flexibility.
For instance, in python you happily add a string to the list [1,2,3], but not in Julia because the list has been created as a vector of integers. However, if you create the list as Any[1,2,3], then you can append a variable of any type.