Dodona
Exercises Courses Publications User manual Contact
  • Sign in
  • en
    • English
    • Nederlands
Toggle navigation

We will perform a short scheduled maintenance starting at 17:00 CEST. The work will take up to 30 minutes. During this window, Dodona will be temporarily unavailable. Thank you for your understanding.

Warning! It seems that you are using Dodona within another webpage, so not everything may work properly. Let your teacher know so that he can solve the problem by adjusting a setting in the learning environment. In the meantime, you can click this link to open Dodona in a new window.
 

  3.2 Defining functions

  • 4. Programming basics
  • 3.0 Introduction
  • 3.1 Conditional expressions
  • 3.2 Defining functions
  • 3.3 Namespaces
  • 3.4 For-loops
  • 3.5 Vectorization and functionals
  • 3.6.1 Conditional expression
  • 3.6.2 Any and all
  • 3.6.3 Conditional changes
  • 3.6.4 Sum of the first n integers
  • 3.6.5 Functions with multiple variables
  • 3.6.6 Namespace
  • 3.6.7-8 Sum of the first n squares (I)
  • 3.6.9 Sum of the first n squares (II)
  • 3.6.10 Sum of the first n squares (III)
Previous activity Next activity
© 2025 Ghent University
User manual Contact Status Privacy statement Terms and Conditions Your data Publications Dodona 25.09.18-16:07