Your task
Make a list [3, 5, 7]. Print its sum, then its length on the next line.
Expected output
15
3
Worked solution
numbers = [3, 5, 7]
print(sum(numbers))
print(len(numbers))
Checks compare printed output, not your approach. Several solutions can be valid.
← Back to courses