5.12 Maximum of Two Values - Python

Publicado em: 26 Janeiro 2017
no canal de: Kakra Detome
10,866
74

Hello Everyone! Ultimately, we would use the predefined function max() to solve a question like this, but we recreated the wheel here to see a variation of the max() function! :) Thanks to @chaten(https://steemit.com/@chaten) for hinting(https://steemit.com/programming/@chat...) at this :)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Starting out with Python, Third Edition, Tony Gaddis
Chapter 5
Programming Challenges

--------------------------------------------------------------------------------------------------------------------------------------------------------------------
12. Maximum of Two Values

Write a function named max that accepts two integer values as arguments and returns the value that is the greater of the two. For example if 7 and 12 are passed as arguments to the function, the function should return 12. Use the function in a program that prompts the user to enter two integer values. The program should display the value that is the greater of the two.

Starting out with Python. Third Edition. Tony gaddis.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Bitcoin Address - 1AbnaHDLG3xqmycNHKDKh1gPNst29Rkp6S

Thanks :)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------


Nesta página do site você pode assistir ao vídeo on-line 5.12 Maximum of Two Values - Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Kakra Detome 26 Janeiro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 10,866 vezes e gostou 74 espectadores. Boa visualização!