Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

CNIT15501 - Introduction To Software Development Concepts

Assignment01   20 Points

Objectives

• Study how to write comments in Python

• Learn how to use print()and  main()

• Get familiar with tabs, spaces, and new lines

Instructions & Requirements

1) At the beginning of the program, include Introductory Comments” as below.  All your submissions should include a segment of introductory comments.

Introductory Comments:

#===============================================================

# Your Name & Lab Section: (ex: Purdue Pete, Friday 1:30pm)

# Your Purdue Email:

# Program Description: In your own words, provide a brief description of the program.

# Academic Honesty:

# I attest that this is my original work.

# I have not used unauthorized source code, either modified or unmodified. # I have not given other fellow student(s) access to my program.

#=================================================================

2) Add inline comments to explain logic, assumptions, details, etc. At least 3 InLine comments are required to get the grade.

Inline Comments:

EX.  #Calculate the area of the rectangle

3) Using print function in python with the different escape characters including \n, \t, etc, write a Python program to display Desired Outputs (see below).

4) Resolve all the build errors (if any) and ignore the warnings.

5) Test your program and make sure it produces the same output as Desired Outputs.

6) Save and close the program.

Submission

•    Submit the  .py file on Brightspace.

•    BEFORE submission, test your program  by comparing your  program’s output with

Desired Outputs.

•   AFTER submission, download your submission and test whether your program runs without any issue.

•    NO late submission will be accepted.

•    There will be penalties for wrong file submission and any errors in the program.

•   Only the last submission will be graded, although you can turn in as many as you want.

Desired Outputs

•   Again, BEFORE submission, test your program by comparing your program’s output with the figure(s) below.  Your program MUST produce the same outputs as below when given the same inputs.