Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Python | Miscellaneous | Question 2

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Given a function that does not return any value, what value is shown when executed at the shell?
(A) int
(B) bool
(C) void
(D) None


Answer: (D)

Explanation: Python explicitly defines the None object that is returned if no value is specified.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads