Python lab assignments for CS101 at Los Angeles City College. This repository collects beginner-friendly exercises that reinforce core Python concepts such as calculations, conditionals, loops, and introductory problem solving.
These labs are organized by chapter and mirror the progression of an introductory programming course:
- Chapter 1 introduces basic arithmetic and geometric calculations.
- Chapter 2 practices numeric expressions and real-world formulas.
- Chapter 3 focuses on decision-making and control statements.
- Chapter 4 includes simple encryption and decryption exercises.
- Chapter 5 is reserved for function-related materials.
| Folder | Focus | Sample Exercises | Status |
|---|---|---|---|
chapter-1 |
Introduction to Python | Rectangle area, triangle area, circle area, cuboid volume | Available |
chapter-2 |
Strings and numbers | Tax form, momentum, kinetic energy, employee pay | Available |
chapter-3 |
Control statements | Triangle checks, bouncing ball, Leibniz pi, salary table | Available |
chapter-4 |
Loops and iteration | Text encryption and decryption | Available |
chapter-5 |
Functions | Placeholder for future exercises | In progress |
- Variables, numeric types, and expressions
- Input/output and formatted results
- Conditional logic
- Repetition and iteration
- Introductory functions
- Practical problem solving with Python
- Clone the repository:
git clone https://github.com/nattapongsindhu/LACC-CS101-Python-Labs.git
cd LACC-CS101-Python-Labs- Run any lab file with Python:
python chapter-1/rectangle.py
python chapter-3/leibniz.py
python chapter-4/encrypt.pyThis repository is a good fit for:
- CS101 students reviewing class exercises
- Beginners practicing Python fundamentals
- Instructors organizing simple chapter-based lab examples
CS101 Python lab assignments from Los Angeles City College covering beginner programming fundamentals, conditionals, loops, and introductory scripting.
python, cs101, python-labs, programming-fundamentals, intro-to-programming, computer-science, education, students, learning-python, los-angeles-city-college
This project is available under the MIT License.