Last active
October 25, 2019 16:15
-
-
Save odanga94/a073542097b65a9290e3afd8d40338ae to your computer and use it in GitHub Desktop.
PracticePython/Exercise28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numbers = [70, 55, 100.5] | |
def max_(numbers): | |
greatest = numbers[0] | |
for x in numbers: | |
if x > greatest: | |
greatest = x | |
print(greatest) | |
max_(numbers) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment