English

Which of the following is a valid keyword in Python? - Computer Science (Python)

Advertisements
Advertisements

Question

Which of the following is a valid keyword in Python?

Options

  • false

  • return

  • non_local

  • none

MCQ

Solution

return

Explanation:

Non_local is not a keyword, and false is Boolean data. As a result, return is a valid keyword.

shaalaa.com
Function Returning Values
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×