Answers for "how to use sum with range python"

2

how to use sum with range python

res = sum(x for x in range(100, 2001) if x % 3 == 0)
Posted by: Guest on January-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language