I need to create a zero table with length specified by a variable. In python, I can write:

> 
> arr = [0] \* size
> 
> 
> 

But in lua, I can only do this like:

> 
> local arr = {}
>  for i=1,size do
>  arr[i] = 0
>  end
> 
> 
> 

Are there any ways that I can do that in lua with python style? Thank you all.