0

How do I add a comma-separated list please?

16th Apr 2020, 12:45 PM
Nancy Omoruyi
Nancy Omoruyi - avatar
3 Answers
+ 4
Do you want to do an addition / sum with the content of a list (comma-separated)? This can be done like this: nums = [1,2,3,4] # elements of list have to be numericals result = sum(nums) If not, you should make your question a bit more clear.Thanks.
16th Apr 2020, 3:08 PM
Lothar
Lothar - avatar
+ 1
How do I add a comma-separated list on CSS please?
16th Apr 2020, 4:25 PM
Nancy Omoruyi
Nancy Omoruyi - avatar