for (i in nums.indices)
# functional
p
for (i in nums.indices)