Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialkelvino
Courses Plus Student 10,694 Pointspython sequence
Challenge Task 2 of 3
On a line beneath the existing code, find the max of the provided student_gpas list and assign it to a variable called 'max_gpa'.
kelvino
Courses Plus Student 10,694 PointsThanks , for your assistance, but I have long gone over this assignment, thanks for your efforts in trying to assist ...
Steven Parker
231,271 PointsNext time, if you realize you don't need a question, you can delete it. But that only works as long as no answers have been given yet.
2 Answers
Tafadzwa Langton Mambo
9,565 Pointsmax_gpa = max(student_gpas)
Everett Hubbard
11,446 PointsI recommend reviewing how to utilize min() & max().
Steven Parker
231,271 PointsSteven Parker
231,271 PointsPlease at least give it your best "good faith" effort, and then if you still have trouble, show your code so far.