• Choose the correct answer

    Which of the following keyword is used to begin the function block?


    - (a) Define

    - (b) For

    - (c) Finally

    - (d) Def



2 Answers


  • Correct Answer:

    (d) Def

    Answered on 29/10/2020 at 02:38PM by Thamizh

Download our mobile app - The Learning App by EduDeck

  • Correct Answer:

    d) Def

    In Python a function is defined using the def keyword.

    Ex:

    def my_function():
      print("Hello from a function")


    Video Explanation


    Answered on 19/12/2020 at 10:34AM by Nirmal Raj



Latest answers

Answered by Sangeedha

Brasilia Declaration

Global conference

Read More

Answered by Sangeedha

Always keep ___________while driving.

To the left

Read More