问题 填空题

若(a-1)2+|b+2|=0,那么a+b=______.

答案

由题意,得a-1=0,b+2=0,.

所以a=1,b=-2.

所以a+b=1-2=-1,

故答案为:-1.

单项选择题
单项选择题