Question: Program in IDLE: At a university, each student is assigned a system login name, which the student uses to log into the campus computer system.

Program in IDLE:

At a university, each student is assigned a system login name, which the student uses to log into the campus computer system. As part of your internship with the university's Information Technology department, you have been asked to write the code that generates system login names for students. You will use the following algorithm to generate a login name:

1) Get the first 3 characters of the student's first name.

2) Get the first 2 characters of the student's last name.

3) Get the last four digits of the student's ID number For example, if a student's name is Amanda Spencer and her ID number is 2566721, her login name would be AmaSp6721. Write a program that asks the user for a first name, last name, and ID number, and then displays the login name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!