产生
生成指定范围内的随机数
计算一串数字的总和。输入以逗号或换行符分隔的数字,即可计算出它们的总和。
这是一个基于浏览器的在线实用程序,用于计算一组数字的总和。您可以输入用逗号、空格或任何其他字符(包括换行符)分隔的数字。您也可以直接粘贴一段包含要求和的数值的文本数据,该实用程序会提取这些数据并计算总和。
In this example, we calculate the sum of ten positive integers. These integers are listed as a column and their total sum equals 19494.
This example reverses a column of twenty three-syllable nouns and prints all the words from the bottom to top. To separate the list items, it uses the \n character as input item separator, which means that each item is on its own line..
In this example, we add together ninety different values - positive numbers, negative numbers, integers and decimal fractions. We set the input separator to a comma and after adding all of them together, we get 0 as output.
In this example, we calculate the sum of all ten digits and enable the option "Print Running Sum". We get the intermediate values of the sum in the process of addition. Thus, we have the following sequence in the output: 0, 1 (0 + 1), 3 (0 + 1 + 2), 6 (0 + 1 + 2 + 3), 10 (0 + 1 + 2 + 3 + 4), and so on.