Made Legal Python Code