Generate a Python program that iterates through a given list of numbers and prints the doubled values.
list_nums = [4, 6, 2, 8]
def double_list(list_nums):
 for num in list_nums:
 print(num * 2)
 
list_nums = [4, 6, 2, 8]
double_list(list_nums)