Second: write a function make_user (param) that will receive as its arguments three strings - 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 charactors of the user pumber

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...
icon
Related questions
Question

using python lauguage

Bb
BbQ
Bb
Bb
Bb
Bb
Bb
Bb
Bb
Bb
OTH
https://learn-us-east-1-prod-fleet01-xythos.content.blackboardcdn.com/blackboard.learn.xythos.prod/5935a3658a06a/907494?X-Blackb...
of 1
(D Page view
A Read aloud
Highlight
1
Draw
Erase
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.
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.
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 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.
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
Client
Username
Sally Jones
Nenya Lin
A Fule
sajo345
neli548
afu000
Mary Ann Smythe masm012
+
Transcribed Image Text:Bb BbQ Bb Bb Bb Bb Bb Bb Bb Bb OTH https://learn-us-east-1-prod-fleet01-xythos.content.blackboardcdn.com/blackboard.learn.xythos.prod/5935a3658a06a/907494?X-Blackb... of 1 (D Page view A Read aloud Highlight 1 Draw Erase 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. 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. 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 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. 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 Client Username Sally Jones Nenya Lin A Fule sajo345 neli548 afu000 Mary Ann Smythe masm012 +
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY