python define value if not already assigned