IT 116: Introduction to Scripting
Homework 2

Due

Sunday, Feb. 7th at 11:59 PM

Deliverables

There is one deliverable for this assignment

Make sure the script obeys all the rules specified in the Script Requirements page.

Setup

All work for this assignment must be done on users3.cs.umb.edu.

The hw2.py file must be created in an hw2 directory, inside your hw directory, inside your it116 directory.

From your home directory go to your it116 directory
cd it 
Go to your hwdirectory
cd hw
Create an hw2 directory
mkdir hw2
Enter this new directory
cd hw2
Create the file hw2.sh
nano hw2.py

Specification

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

Testing

Your output should look something like this
$ python3 hw2.py
Name: Glenn
Email: Glenn.Hoffman@umb.edu
Unix username: ghoffman
Major: Computer Science
Name:    Glenn
Email:   Glenn.Hoffman@umb.edu
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.