Answer:
n1 = float(input())
n2 = float(input())
n3 = float(input())
n4 = float(input())
product = n1 * n2 * n3 * n4
average = (n1 + n2 + n3 + n4) / 4
print('{:.0f}'.format(product) + ' {:.0f}'.format(average) + ' {:.3f}'.format(product) + ' {:.3f}'.format(average))
Explanation:
Ask the user to enter 4 numbers as float
Calculate the product, multiply each number
Calculate the average, sum the numbers and divide the sum by 4
Print the results in requested formats