Lab-01-comments

docx

School

Northeast State Community College *

*We aren’t endorsed by this school

Course

1301

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by GrandThunder13213

Report
Lab 01 Comments Purpose: In this lab you will use the PyCharm interface or your favorite IDE. You will learn how to create comments in a program. Learning Objectives: Explore program comments. Lab Materials: Computer with Python 3 installed. Must be at least Python 3.6 Computer with PyCharm installed. You may use another IDE but the instructor may not be able to assist with the IDE. Procedure: From this point forward, unless otherwise noted, you will submit your Python file. Open PyCharm and create a new project. You can use this project for the rest of the semester. Create a new python file. Name the file based on the file naming rules in the syllabus addendum. Make sure that the interpreter is found. If not, there are tutorials that will help. You should have seen some of the tasks that use PyCharm already. You may also contact the instructor for help with configuration. Python comments start with a ‘#’ for single line comments. Comments do nothing but are important because they provide information for programmers. Create a comment in your program. Notice the color coding. PyCharm color codes things to help you find errors and for readability. Run the program using any method you choose. This program does nothing, but comments have no effect.
The syllabus addendum has the comments that are required for each program. Put those comments in this program. For future labs, you may open this program and copy the comments to the new program, change the relevant information. You may also create template defaults in PyCharm that will automatically insert the commands in a new python file. Work smarter, not harder. Deliverables: Please submit a document with your lab results in the appropriate format. For Python programs, this is the .py file. (See lab submission document). Remember that a document without a name will receive a grade of 0. Python programs without the proper comments will receive a 0. Please name your file based on lab submission rules. Upload the document to the drop box.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help