Lego python assignment

Looking for the correct coding information