def init(v1,v2,v3)
v1=4;v2=5;v3=6
end

val1=1;val2=2;val3=3
init(val1,val2,val3)
p val1;p val2;p val3

この場合の出力結果を
4
5
6
にする場合はどうしたらいですか