这个错误是什么意思?我正在尝试创建一个返回元组的函数。我确定我做错了。任何帮助表示赞赏。
from random import randint
A = randint(1,3)
B = randint(1,3)
def make_them_different(a,b):
while a == b:
a = randint(1,3)
b = randint(1,3)
return (a,b)
new_A, new_B = make_them_different(A,B)