Python variable scope

shape