# Initialize an empty list to store the numbers
numbers = []
• This line creates an empty list called where we'll store the five numbers entered by the user.
# Prompt the user to enter five numbers
for I in range (5):
num = float (input (f"Enter number {i+1}: "))
numbers. Append(num)
• starts a loop that runs five times (i.e., for to).
• asks the user to enter a number, showing which number they're entering (1 through 5).
• converts the input from a string to a floating-point number.
• adds the entered number to the list.
# Calculate the average
average = sum(numbers) / len(numbers)
• adds up all the numbers in the list.
• returns the number of items in the list (which is 5).
• Dividing the total sum by the count gives the average.
# Display the result
print (f"The average of the five numbers is: {average}
[Link]
%20Video%20-%[Link]