参考 add()

add()

Add the given number to the value currently stored at the given key. The sum then replaces the value previously stored in the Dictionary.

示例

语法

add(Key, Number)

参数

Key
Number:

for the value you wish to add to

Number
Number:

to add to the value

Notice any errors or typos? Please let us know. Please feel free to edit src/data/p5.TypedDict.js and open a pull request!

相关参考