Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Trying to understand the āreturnā keyword
def swap(x, y): x, y = y, x return(x,y) x = 5 y = 10 swap(x, y) #print(x,y) #Does the return function only give an output if there is āprintā in the code, for example the # on line 9.
1 Resposta
0
Jay Matthews thank you!