Computers and Technology
Computers and Technology, 20.04.2020 19:10, hazelg

You're enjoying learning programming so much, you've decided to run your own class teaching programming basics. You've got plenty of students signing up, and now you need to make logins for each of them. Since usernames (but not first names) have to be unique, you decide to write a program to help generate them. You should read in the classlist. txt which contains on each line. Your program should print out a list of usernames based on the following rules:

Username should be a students' first and, if applicable, middle name(s), with no spaces, converted to lower case.
If there already exists a student with that username, use their firstname plus first letter of last name converted to lower case.
If that already exists, use firstname plus first letter of lastname, plus a number, starting at 1 and counting up as required.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, nickddj12
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
image
Computers and Technology, 23.06.2019 04:31, legendman27
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, kayranicole1
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
image
Computers and Technology, 24.06.2019 02:20, isabelsmhl
Peter is thinking of a number which isless than 50. the number has 9 factors. when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
Do you know the correct answer?
You're enjoying learning programming so much, you've decided to run your own class teaching programm...

Questions in other subjects:

Konu
Business, 03.12.2020 23:30
Konu
Mathematics, 03.12.2020 23:30