Lab 1

Hello, World!

Welcome to your first CSCI 150 lab! Hopefully you’ve already completed the Pre-Lab. If not, head over there now before continuing on. Otherwise, let’s get started with Lab 1. This lab is all about finding your bearings in GitHub Codepaces and writing your first Python programs!


  • Familiarize yourself with GitHub repositories and Codespaces
  • Create your first Python programs and run them
  • Learn how to get input from the user while a program is running
  • Use the command line to run your programs
  • Practice string and integer operations
  • Push your code to GitHub – This is how you’ll save and submit your homework for a grade.

The lab is broken up into sections to make things more manageable. Each section indicates how many points it is worth. Be sure to read each section carefully. With the exception of this lab, most labs are expected to take 7-9 hours, which is much longer than our section lab periods. That’s why each lab has a Warmup that is intended to be completed while we are together during the lab period. The Warmup will get you ready for the problems you’ll find later in the lab. Get as far as you can in the scheduled lab time, and try to work steadily on the lab throughout the week. Don’t leave it all until the day the lab is due.

Occasionally you’ll come across a ReadMe box like the one below. As you might have guessed from the name, these boxes contain important information. Be sure to read them, they might even save you some time.


A reminder about the Honor Code in CSCI 150: The Warmup is intended to be done with a classmate during the lab section period, and then everything after that (Part 1, Part 2, etc.) is individual work. While you are encouraged to form study groups and discuss the labs in general terms with classmates, you should never copy anyone’s code, and no one else should ever have a copy of your code. The only people who are allowed to look at your code directly are the course instructors, lab helpers hired by the CSCI department, and tutors hired by the AARC. If you do discuss the lab with someone else or look up resources online, please write that you did so in the README file within your repository.