Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (2.2k points)

A) function

B) def

C) method

D) All of these

1 Answer

0 votes
by (3.9k points)

The correct answer to the question “Which keyword is used to define methods in Python” is option (b). def. And all the other options are incorrect. If you are learning Python, I would suggest you enroll in a Python certification course, from Intellipaat. If you are already into Python and are preparing for an interview, I suggest you watch the following video on Python Interview Questions to aid your preparation.

Related questions

0 votes
1 answer
asked Mar 23, 2021 in Python by Rekha (2.2k points)
0 votes
4 answers
0 votes
1 answer
asked Nov 19, 2020 in Python by ashely (50.2k points)
0 votes
1 answer
asked Sep 23, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer

Browse Categories

...