Question: Assignment 4.[10 Points) Write a Python function which takes two strings on input. The first string is a person's first name and the second string
Assignment 4.[10 Points) Write a Python function which takes two strings on input. The first string is a person's first name and the second string is the person's last name. This Python function then creates a UIC style user name ID, which consists of the first letter of the first name and first 5 letters of the last name, and we will take the digit to be the length of the person's last name. If a person's full name is "Julius Caesar", the user name would be "jcaesa6". If a person's last name is less than or equal to five letters, the whole last name is taken. For example, "Jane Doe" would result in a user name "jdoe3". The function prints each user name to screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
