結果 : cannot access local variable x where it is not associated with a value python