IT 116: Introduction to Scripting
Homework 2


Sunday, February 10th at 11:59 PM


There is one deliverable for this assignment

It must be in an hw2 directory, which you must create inside a hw directory inside your it116 directory.

To do this, go to your it116 directory
    cd it116
Now go to your hw directory
    cd hw
Create a directory for this assignment
    mkdir hw2
Go into this new directory
    cd hw2 Create inside this directory.


Write a script which will ask the user for the following

The program should then print each of the above values preceded by a label.

Each value and label must be on the same line.

Be sure to chose good variable names.

The prompts should tell the user what value is expected.

Make sure there is a space after the last letter in the prompt (see below).


Your output should look something like this
$ python3 
Name: Glenn
Unix username: ghoffman
Major: Computer Science
Name:     Glenn
Username: ghoffman
Major:    Computer Science

The text in blue is my response to each request for a value

The output does not have to line up neatly as I have done here.

Be sure to run this script on the Unix machine so you know it works in the environment in which I will run it when I score your homework.