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 |CD Page view A Read aloud...


using python programming lauguage


Bb<br>BbQ<br>Bb<br>Bb<br>Bb<br>Bb<br>Bb<br>Bb<br>Bb<br>Bb<br>OTH<br>https://learn-us-east-1-prod-fleet01-xythos.content.blackboardcdn.com/blackboard.learn.xythos.prod/5935a3658a06a/907494?X-Blackb...<br>of 1<br>|CD Page view<br>A Read aloud<br>Highlight<br>1<br>Draw<br>Erase<br>Focus on string operations and methods<br>You work for a small company that keeps the following information about its clients:<br>first name<br>last name<br>a 5-digit user code assigned by your company.<br>The information is stored in a file clients.txt with the information for each client on one line<br>(last name first), with commas between the parts. For example<br>Jones, Sally,00345<br>Lin ,Nenya,00548<br>Fule,A,00000<br>Smythe , Mary Ann , 00012<br>Your job is to create a program assign usernames for a login system.<br>First: write a function named get parts (string) that will that will receive as its arguments a<br>string with the client data for one client, for example

Extracted 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 |CD Page view A Read aloud Highlight 1 Draw Erase Focus on string operations and methods You work for a small company that keeps the following information about its clients: first name last name a 5-digit user code assigned by your company. The information is stored in a file clients.txt with the information for each client on one line (last name first), with commas between the parts. For example Jones, Sally,00345 Lin ,Nenya,00548 Fule,A,00000 Smythe , Mary Ann , 00012 Your job is to create a program assign usernames for a login system. First: write a function named get parts (string) that will that will receive as its arguments a string with the client data for one client, for example "Lin ,Nenya,00548", and return the separate first name, last name, and client code. You should remove any extra whitespace from the 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 +
Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here