Codington
0 of 6 problems solved • 0%

Exercise prompt

Inspect a Call Sign

String indexes select individual characters. The first position is zero, and negative positions count back from the end.

Example

word = "tulip" print(word[1]) # u print(word[-2]) # i

Position 1 selects the second letter. Position -2 selects the letter just before the end.

Your task

Use call_sign to extract the first and last characters. Join them without a separator in end_marks.