0
Functions in python
Can anyone explain with easy examples so that i can understand two functions easily in a program, also explain return
5 ответов
+ 2
FAحAD ,
> why are talking about 2 functions? please give some more details.
here is a sample code that uses a function to calculate the average temperature. more details in the sample file:
https://sololearn.com/compiler-playground/ctmKl4OuXwon/?ref=app
+ 1
I understand use of only one function but i got confuse whenever two fuctions come in the same program, do have any example to do same work but with the double function?
+ 1
FAحAD ,
it would be helpful if you could post a code that shows a situation with 2 functions, so that we can see what your issue could be.
+ 1
It sounds like you want to understand callbacks, where functions call functions. Is that right?
0
Yes, actually sololearn confuses me after giving lessons of two functions🙂, i will share