Certified Entry-Level Python Programmer (PCEP-30-02) — Question 32

Which of the following function definition does not return any value?

Answer options

Correct answer: C

Explanation

The correct answer is C because it describes a function that performs a print operation and does not return any value. In contrast, options A and B both indicate functions that return a specific value, either by converting letters or generating random integers.