Skip to content

Exercises

Welcome to the exercises! These exercises are designed to help you practice and improve your Python skills. Each exercise includes a description, an example, and a task to complete.

In the following you will find an overview of all exercises, including a brief description and the link to the dedicated Google Colab.

Table of Contents

1. Python Basics

The tasks in this exercise cover basic Python concepts such as variables, data types, and control structures. You will practice working with numbers, strings, lists, and dictionaries. As an additional exercise you will be asked to write and read files.

2. Reading and writing of files

The tasks in this exercise cover reading and writing files. You will practice the concepts of file handling and parsing on the example of FASTA files. Here it is asked to read three FASTA files and collect all sequences in a new FASTA file.