Find the largest number in a list #
Write a function that finds the largest number in a given list of integers. The first argument of the function is a list of integers.
We encourage you to avoid using the function max() for this challenge.
Tests #
get_largest_number([5, 10, 15, 20, 25])should return25get_largest_number([100, 200, 300, 400, 500])should return500get_largest_number([-10, -5, -20, -15, -25]])should return-5get_largest_number([9, 7, 5, 3, 1, -1])should return9
Getting Started with Python
Data Types
Python Functions
Statements in Python
Basic Debugging in Python
Basic Algorithm
Object-Oriented Programming
Error Handling
Intermediate Algorithm
Python Modules