Write one yourself · Escrever uma você mesmo
Write one yourself
Write biggest(a, b) that gives back the larger of the two numbers. Do not use max.
Now all three parts are yours: the def line with its two names, an if/else inside it, and a return on each path. Every path must return something.
Escreva uma você mesmo
Escreva biggest(a, b) que devolve o maior dos dois números. Não use max.
Agora todas as três partes são suas: a linha def com seus dois nomes, um if/else dentro dela, e um return em cada caminho. Todo caminho deve retornar algo.
Write biggest(a, b) that gives back the larger of the two numbers. Do not use max. · Escreva biggest(a, b) que devolve o maior dos dois números. Não use max.
Click Run to see the output here. · Clique em Executar para ver a saída aqui.