Search⌘ K
AI Features

Challenge 3: Compute & Return Maximum

Explore how to write a Python function that compares two numbers using conditional statements and returns the greater one. This lesson helps you understand function implementation and basic control structures like 'if' statements while considering edge cases such as negative inputs. Gain confidence in applying Python syntax to solve comparison problems.

Problem Statement

Implement the findMaximum function that receives two numbers as arguments x and y and returns ...