0

Functions in python

Can anyone explain with easy examples so that i can understand two functions easily in a program, also explain return

30th Jun 2025, 3:59 PM
FAŰ­AD
FAŰ­AD - avatar
3 Answers
+ 1
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
30th Jun 2025, 5:26 PM
Lothar
Lothar - avatar
+ 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?
30th Jun 2025, 6:25 PM
FAŰ­AD
FAŰ­AD - avatar
0
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.
30th Jun 2025, 7:15 PM
Lothar
Lothar - avatar