Lecture 3 Aug 28

Activity 1

  • Write an original code on the Karel code block that illustrates (a) a function; (b) conditional statememt and (c) a loop
  • save the code and upload it as part of assignment 1 (instructions will follow on how to upload)

Introduction to JupyterLab for Beginners

🌟 What is JupyterLab?

JupyterLab is a free, open-source program that lets you write and run code in an interactive way inside your web browser.

Think of it as a digital notebook where you can:

  • Write notes (like a Word document ✍️)
  • Run Python code (or other languages πŸ’»)
  • See the results immediately (numbers, tables, charts, even images πŸ“Š)

It’s very popular in data science, machine learning, and scientific research, because you can mix explanations, code, and results all in one place.


πŸ”‘ Key Features

  1. Notebooks
    • Work with cells (small blocks of code or text).
    • Run one cell at a

Access JupyterLab

You can either install the code on your laptop or access it using NCSU’s jupyerhub (search NCSU COS jupyterhub)

Class Activity

Follow the link below: