← Code LabPython0/50 solved · 0%
Strings · easy

3. String methods

Slice, upper/lower, and check membership.

Write `shorten(address)` returning the first 6 and last 4 characters joined with `"..."`, e.g. `"0xabcd...ef01"`.
Required in your answer: def shorten[:6]