Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How does a function return values?
Answer:

Functions return values using the return statement.

Ex:

def func():

    num = 10

    return num

Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook