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
- 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:
- A gentle introduction to Python using jupyterlab