Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

=+1. What is a stakeholder? Define the term in your own words.

Answered: 1 week ago