python中函数里的变量怎么在外部调用
例如
def goodsrandom(): shell1 = r.randint(0, 3) shell2 = r.randint(0, 3) shell3 = r.randint(0, 5) shell4 = r.randint(0, 5)
这个函数中的四个shell变量如何在外面调用?