Programming in Science
Welcome to 420-SN1 Programming in Science
In this course, you will learn everything about the basics of programming to solve scientific problems, read data from files, clean up the data, apply mathematical formulas, and so much more.

This image was AI generated.
This website provides you with additional notes and practice exercises that can help you better understand and master the concepts seen in class.
Course Outline
You can download a copy of the course outline from Léa.
Tools & Materials
- Python 3.12 (or above)
- Thonny IDE
- A decent Internet connection
Website conventions
Learning Objectives
All credits go to Vikram Singh for the original idea for adding learning objectives to every topic.
Content bubbles
This is part of the core content and should be studied.
This is a warning related to code errors that can lead to incorrect answers or make your program crash. They are meant to teach you about common mistakes.
This is a warning related to a required installation or configuration.
Practice exercises
🎯 Test Myself: Short questions found throughout each topic’s notes to help you grasp and check your understanding of the concept.
✍️ Practice: These practice problems are found at the end of each module, they are meant to reinforce and consolidate your understanding of a topic. Do as many as you need until you feel comfortable with the concepts.
🧩 Problem Solving: These questions are meant to connect the module with what you previously learnt and challenge you. These are excellent preparation for Quizzes and Tests.
🚀 Challenge : Harder, optional problems to challenge yourself further. Some of these could be useful to prepare for the Final Exam.
This is a solution for an exercise and is collapsed for you to optionally look at.