LearnPy Hub
← If…Else problems
Medium

Inside the Rectangle?

A rectangle has corners (0, 0) and (10, 5). Read a point x y and print inside, on edge or outside.

Input

Two integers on one line.

Output

One line.

Sample 1

Input
3 2
Output
inside

Sample 2

Input
0 3
Output
on edge
solution.py
Output appears here
Inside the Rectangle? · Python practice problem · LearnPy Hub