Published on January 26, 2024By DeveloperBreeze

# Define a list of numbers
numbers = [15, 20, 25, 30, 35]

# Calculate the average of the numbers
average = sum(numbers) / len(numbers)

Comments

Please log in to leave a comment.

Continue Reading:

Calculate Sum of Numbers in Array

Published on January 26, 2024

csharp

Sort a List

Published on January 26, 2024

python

Remove Duplicates from a List

Published on January 26, 2024

python

Enumerating List Elements

Published on January 26, 2024

python

Find Maximum Value in a List

Published on January 26, 2024

python

JavaScript Sum of Array Elements

Published on January 26, 2024

javascript

Java: How to Sort a List

Published on August 12, 2024

java