Python Principles

Challenges III

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
Run Reset Help Solution