Sitelet https://github.com/OleEinarDolge/IntroductionToPython/tree/main/exercises
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Exercises

The exercises cover the topics covered in each lecture.

For each exercise there is a suggestion to give you an idea of what a possible solution might look like. In most cases, there are many different ways to solve things programmatically. So compare your solution with the suggestion and think about the advantages and disadvantages of each approach.

A password is required for the proposed solutions to ensure that you try to solve the task yourself first. To get the respective password, answer the following questions:

  1. Which document is considered the central style guide for Python? (capital letters, no spaces)
  2. How is the construct called which provides a concise way to create lists, dictionaries or sets? (lower case)
  3. How are special methods like the constructor called in Python? (lower case, underscores between words)
  4. Which module of the Python standard library allows you to handle paths (Python > 3.4)? (lower case)