Python Principles

Challenges III

Slide solved ✓

Returning an integer

Write a function named f that takes no parameters and always returns an integer.

The integer returned is up to you; it could be 0, 1, 123, or something else.

Lesson completed

Congratulations! You have finished the lesson "Challenges III".

Rate the lesson

Leave feedback



Next lesson Browse lessons
Sorry, that's not right.

explanation