Question about Python list. Please help me

Asked 2 years ago, Updated 2 years ago, 106 views

This is a question about the Python numeric value list Whether it's 1, 2, 3 or 1, 2, 3, 4, 5... Even if you put a few numbers in the list, Is there a way to write a Python expression like 1,2,3 = 61,2,3,4,5 = 15... Help me, talented people!

python atom

2022-09-22 08:32

1 Answers

sum([1,2,3,4,5])


2022-09-22 08:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.