You'll need to use some of the string methods that we covered in this lesson You can test your function by with a main() that is just the function call with the argument ty Second: write a function make_user (param) that will receive as its arguments three str first name, last name, and client number and return the username. The user name should be created as • The first two characters of the first name, in lower case • The first two characters of the last name, in lower case • The last three characters of the user number For the example, the username for user Nenya Lin will be neli548 You'll lewer!)
You'll need to use some of the string methods that we covered in this lesson You can test your function by with a main() that is just the function call with the argument ty Second: write a function make_user (param) that will receive as its arguments three str first name, last name, and client number and return the username. The user name should be created as • The first two characters of the first name, in lower case • The first two characters of the last name, in lower case • The last three characters of the user number For the example, the username for user Nenya Lin will be neli548 You'll lewer!)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
'

Transcribed Image Text:1
of 1 Q
Bb
https://learn-us-east-1-prod-fleet01-xythos.content.blackboardcdn.com/blackboard.learn.xythos.prod/5935a3658a06a/907494?X-Blackb...
+
Q
Page view A Read aloud | Draw
separate me name, at name, and chemic code. You around remove any CAcra Wincespace from one
beginning and newlines from the end of the parts.
You'll need to use some of the string methods that we covered in this lesson
You can test your function by with a main() that is just the function call with the argument typed in.
The user name should be created as
Second: write a function make_user (param) that will receive as its arguments three strings - the
first name, last name, and client number and return the username.
●
X
The first two characters of the first name, in lower case
The first two characters of the last name, in lower case
•
The last three characters of the user number
For the example, the username for user Nenya Lin will be neli548
You'll need to use slices, lower() and concatenation.
You can test your function by with a main() that is just the function call with the arguments typed in.
client
Sally Jones
Nenya Lin.
A Fule
Mary Ann Smythe
Highlight
Finally: After your functions are working, write a main program to open the file, create usernames for
the clients and print out client names and user names in a neat report format. For example
Username
sajo345
neli548
afu000
masm012
Erase
6
8
0
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY