← Back to challenges

Less Than 100?

PythonMediummathvalidationlanguage_fundamentals

Instructions

Given two numbers, return True if the sum of both numbers is less than 100. Otherwise return False.

Examples

less_than_100(22, 15) ➞ True
# 22 + 15 = 37

less_than_100(83, 34) ➞ False
# 83 + 34 = 117

less_than_100(3, 77) ➞ True

Notes

N/A

python3
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Return the Last Element in a List