Learn Python Programming 19 - Functions and Returning Multiple Values

Publicado em: 12 Janeiro 2020
no canal de: TNTeach #NCERT #CBSE #Python
66
8

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)


Nesta página do site você pode assistir ao vídeo on-line Learn Python Programming 19 - Functions and Returning Multiple Values duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário TNTeach #NCERT #CBSE #Python 12 Janeiro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 66 vezes e gostou 8 espectadores. Boa visualização!