0

Anybody give me a Example of (def) function.PLZ

¿≠≈∞

26th Sep 2020, 5:15 AM
“«(∞{Jaᎎïñ}∞)»”
“«(∞{Jaᎎïñ}∞)»” - avatar
3 RĂ©ponses
+ 1
Example: greeting def great(): return "Hello" print(greet(),"Arjun") Example 2: add 2 no's def add(a,b): Ans=a+b return a x=add(2,7) print(x)
29th Sep 2020, 7:22 AM
Venati. Sandhya
Venati. Sandhya - avatar
0
Hi
26th Sep 2020, 9:07 AM
“«(∞{Jaᎎïñ}∞)»”
“«(∞{Jaᎎïñ}∞)»” - avatar
0
Thnks
29th Sep 2020, 7:38 AM
“«(∞{Jaᎎïñ}∞)»”
“«(∞{Jaᎎïñ}∞)»” - avatar