Hi, I am an absolute beginner and trying to write a simple program to calculate the average of 5 numbers.
This is what I have come up with
a, b, c, d, e = map(int, input(“Enter 5 numbers separated by space:”).split())
average = (a + b + c + d + e)/5
print ‘The average of the numbers is’, average
However, I keep getting a syntax error. Can anyone point me in the right direction?