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 Sally Jones Nenya Lin A Fule Mary Ann Smythe Username sajo345 neli548 afu000 masm012

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter3: Designing A Page Layout: Creating A Website For A Chocolatier
Section3.3: Visual Overview: Layout With Positioning Styles
Problem 7QC
icon
Related questions
Question

!!

 

 

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
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
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage