Assignment1.py
def firstName(string):
    '''
    If a participants first name is larger then 8 characters long, will cut it off at 7 characters long plus 
    a asterisk. ie  ARCHIBALD becomes ARCHIBA*.

    Para:
            string: string

    Returns:
            string: string
    '''
    if len(string) > 8:
        string = string[:7] + '*'
    return string

    If a participants first name is larger then 8 characters long, will cut it off at 7 characters long plus 
    a asterisk. ie  ARCHIBALD becomes ARCHIBA*.

    Para:
            string: string

    Returns:
            string: string
    
If a participants first name is larger then 8 characters long, will cut it off at 7 characters long plus
a asterisk. ie  ARCHIBALD becomes ARCHIBA*.

string
If a participants first name is larger then 8 characters long will cut it off at 7 characters long plus a asterisk . ie ARCHIBALD becomes ARCHIBA * . string
def firstName(string):
    if len(string) > 8:
        string = string[:7] + '*'
    return string
def firstName ( string ) : if len ( string ) > 8 : string = string [ : 7 ] + '*' return string
If a participants first name is larger then 8 characters long, will cut it off at 7 characters long plus
a asterisk.
If a participants first name is larger then 8 characters long will cut it off at 7 characters long plus a asterisk .
'''
    If a participants first name is larger then 8 characters long, will cut it off at 7 characters long plus 
    a asterisk. ie  ARCHIBALD becomes ARCHIBA*.

    Para:
            string: string

    Returns:
            string: string
    '''
None
string
string