+ 1
What is the use of def
Answer plzz
2 Réponses
+ 2
with def you define a function in python. here you will see an example:
-------------------------
def double(x):
return x*2
print(double(4))
--------------------------
this will ouput the result: 8
0
Thanks bro