Use a def for the short code length