Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

which of the following keywords is used for creating a method inside a class?

Asked by Chloe Burgess Dec 15, 2023 1.2K views 1 answer
Share

About this question

 In the context of Python which of the following options is correct regarding creating a method inside a class? Here are the options given:-

Def

Func

Method

None of the above

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.