Solve Problems by Coding Solutions - A Complete solution for python programming
import re
def extractMax(input):
numbers = re.findall('\d+',input)
numbers = map(int,numbers)
print (max(numbers))
if __name__ == "__main__":
input = '100klh564abc365bg'
extractMax(input)
Post a Comment
No comments:
Post a Comment