No products in the cart.

Explain user defined function with the …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Explain user defined function with the help of python code
  • 1 answers

Aktarul Islam 4 years, 6 months ago

User defined function is a code that is given a name by the user, and it can be called by the user whenever needed. Here 'def' keyword is used to define a function. e.g: def sum(a,b): c=a+b print("Sum=",a+b) a=10 b=20 sum(a,b) O/p: Sum=30
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers
What is mean by buffering in file handling?
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App