“分配一个值”常见的英文表达是 “assign a value” 。
例句:
In this program, we need to assign a value to the variable before using it.(在这个程序中,我们需要在使用变量之前给它分配一个值。)
The function is designed to assign a value to each element in the array.(这个函数的设计目的是给数组中的每个元素分配一个值。)