In [5]:
def main():
    first = input("Please enter a first name: ")
    last = input("Please enter a last name: ")
    uname = first[0] + last[:7]
    uname = uname.lower()  # replace old 'uname' with  a new string all lowercased
    print(uname)
In [6]:
main()
Please enter a first name: Joe
Please enter a last name: Smith
jsmith
In [7]:
main()
Please enter a first name: Donna
Please enter a last name: Rostenkowski
drostenk