+ 2

def stands for ?

13th Jul 2016, 8:33 AM
Suryaprakash Tiwari
Suryaprakash Tiwari - avatar
13 Respostas
+ 6
define for defining user defined function
13th Jul 2016, 10:26 AM
sundar
sundar - avatar
+ 3
def, a keyword of the Python , is used to declare a function
14th Jul 2016, 3:12 PM
äșŽæ™“据
äșŽæ™“据 - avatar
+ 2
def stands for define as here we are defining a function which we can use by our own later which would help us in a lot .
19th Jul 2016, 7:40 AM
Shishir Ranjan
Shishir Ranjan - avatar
+ 2
defining function
23rd Nov 2016, 8:02 AM
MrRobot
+ 2
defines a function or meathod
24th Nov 2016, 12:59 PM
My Own
My Own - avatar
+ 1
Short of define.
14th Jul 2016, 12:13 AM
xuezhiyuan
+ 1
Def means defining a function.
24th Nov 2016, 3:03 PM
joffie
joffie - avatar
0
we can use def to create our own function s
24th Nov 2016, 1:00 PM
My Own
My Own - avatar
0
def is not to define a variable but in Python, it is used to define a user definable custom function. for instance, if I write a code def square(num): return x * x the above def is defining a new function called 'square' which will take a local argument 'x' when called and the. returns its square . To use that function, we need to call it . The method is as follows. y = square(7) print y Then the output will be 49.
11th Dec 2016, 5:36 PM
Madhu Muppala
Madhu Muppala - avatar
0
definition of function....in python 1st you need to define the function with def keyword and then at down call the function for execution...
31st Dec 2016, 12:37 PM
kundan kumar
kundan kumar - avatar
- 2
defining a variable
23rd Nov 2016, 6:29 AM
tudor
- 2
def = define the variable
24th Nov 2016, 10:30 AM
Harshit