Write a Python function that takes a string and returns the concatenated first and last character


Topic: Write a Python function that takes a string and returns the concatenated first and last character

Solution

def first_last(name):
    return name[0] + name[-1]



List all Python Programs