Learn Python Programming
#function which returns multiple values
def calculator(x,y):
add = x + y
sub = x - y
mul = x * y
div = x / y
return add, sub, mul, div
#main
a, s, m, d = calculator(10, 10) #function call
print (a, s, m, d)
On this page of the site you can watch the video online Learn Python Programming 19 - Functions and Returning Multiple Values with a duration of hours minute second in good quality, which was uploaded by the user TNTeach #NCERT #CBSE #Python 12 January 2020, share the link with friends and acquaintances, this video has already been watched 66 times on youtube and it was liked by 8 viewers. Enjoy your viewing!