Assignment1.py
def fixCurrentDate(year, month, day):
    '''
    Converts the current date into the acceptable string layout. ie YYYY MM DD. Will change single digit 
    strings to double digit. ie. 6 becomes 06, for both the month and day.

    Para:
            year: integer
            month: integer
            day: integer

    Returns:
            string: string
    '''
    year = str(year)
    month = str(month)
    day = str(day)
    if len(month) < 2:
        month = '0' + str(month)
    if len(day) < 2:
        day = '0' + str(day)    
    string = ' '.join([year, month, day])
    return string

    Converts the current date into the acceptable string layout. ie YYYY MM DD. Will change single digit 
    strings to double digit. ie. 6 becomes 06, for both the month and day.

    Para:
            year: integer
            month: integer
            day: integer

    Returns:
            string: string
    
Converts the current date into the acceptable string layout. ie YYYY MM DD. Will change single digit
strings to double digit. ie. 6 becomes 06, for both the month and day.


Converts the current date into the acceptable string layout . ie YYYY MM DD . Will change single digit strings to double digit . ie . 6 becomes 06 for both the month and day .
def fixCurrentDate(year, month, day):
    year = str(year)
    month = str(month)
    day = str(day)
    if len(month) < 2:
        month = '0' + str(month)
    if len(day) < 2:
        day = '0' + str(day)    
    string = ' '.join([year, month, day])
    return string
def fixCurrentDate ( year , month , day ) : year = str ( year ) month = str ( month ) day = str ( day ) if len ( month ) < 2 : month = '0' + str ( month ) if len ( day ) < 2 : day = '0' + str ( day ) string = ' ' . join ( [ year , month , day ] ) return string
Converts the current date into the acceptable string layout.
Converts the current date into the acceptable string layout .
'''
    Converts the current date into the acceptable string layout. ie YYYY MM DD. Will change single digit 
    strings to double digit. ie. 6 becomes 06, for both the month and day.

    Para:
            year: integer
            month: integer
            day: integer

    Returns:
            string: string
    '''
None
string
year
month
day