# Write a Python program to add a number to each element in a given list of numbers.  def add_val_to_list(lst, add_val):
    result = lst
    result = [x+add_val for x in result]   
    return result    
nums = [3,8,9,4,5,0,5,0,3]
print("Original lists:")
print(nums)
add_val = 3
print("\nAdd",add_val,"to each element in the said list:")
print(add_val_to_list(nums, add_val))
nums = [3.2,8,9.9,4.2,5,0.1,5,3.11,0]
print("\nOriginal lists:")
print(nums)
add_val = .51
print("\nAdd",add_val,"to each element in the said list:")
print(add_val_to_list(nums, add_val))
