subject
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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 1
question
Computers and Technology, 23.06.2019 16:50
15: 28read the summary of "an indian's view of indian affairs."15 betterin "an indian's view of indian affairs," it is asserted that conflicts could be reduced if white americansunderstood native americans..pswhich of the following would make this summary more complete? eleo the fact that chief joseph believes the great spirit sees everythinthe fact that chief joseph was born in oregon and is thirty-eight years oldo the fact that chief joseph states that he speaks from the hearthehehethe fact that chief joseph of the nez percé tribe made this claimebell- ==feetle===-felsefe ==submitmark this and retum.=
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
You know the right answer?
You're enjoying learning programming so much, you've decided to run your own class teaching programm...
Questions
question
Mathematics, 18.09.2019 22:30
Questions on the website: 13722361