-
-
Save amankharwal/4dd1a807a3f7f83ed9e3de0d76002f0b to your computer and use it in GitHub Desktop.
This file contains 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
# Building an algorithm with Python to find maximum namber | |
def find_max(l): | |
max = 0 | |
for x in l: | |
if x > max: | |
max = x | |
return max |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment