Write an expression (not a statement!) whose value is the larger of population1 and population2 by calling max.

Write an expression (not a statement!) whose value is the larger of population1 and population2 by calling max.

LANGUAGE:  PYTHON

CHALLENGE:

max is a function that expects two int parameters and returns the value of the larger one.

Two variables , population1 and population2, have already been defined and associated with int values.

Write an expression (not a statement!) whose value is the larger of population1 and population2 by calling max.

SOLUTION:


max(population1,population2)

Add comment