Skip to content

QLS-MiCM/IntroToPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Intro to Python

Open student version in Colab Open solutions version in Colab

Overview

In this 4-hour workshop, participants will be introduced to the basics of programming in Python. Students will journey from the beginnings of creating variables and performing simple mathematical operations to writing code that can perform fundamental tasks and wrapping this code into functions. Participants will learn how to write the important building blocks that make up complex programs.

  • Level: Beginner

  • Duration: 4 hours

Learning Objectives

  1. Store data in variables and collections.
  2. Perform basic operations on these data.
  3. Use control flow and loops to write powerful code.
  4. Define functions to create repeatable units of behaviour.

Requirements

  • Basic computer science knowledge of data types and control structures is an asset.
  • To be able to participate in the exercises, participants must either:
    • Have a Google Account to run in-browser as a Colab notebook (preferred).
    • Have a local installation of Python and Jupyter notebooks. Microsoft Visual Studio Code with the Python extension installed can also be used to run the Notebook.

Software

  • All we need for this workshop is a Google account to open Colab.

Links to Colab

Please open the Jupyter notebook.

References

Material partially adapted from Benjamin Rudski and Najia Bouaddouch

Workshop created as part of the McGill Initiative in Computational Medicine

For more information about the QLS-MiCM, visit: https://www.mcgill.ca/micm/.

The contents of this repository are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

CC-BY-SA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •