Problem of the Day

1. Write a program that contains 2 functions.

- The function distanceToOrigin(x, y)
computes and returns the distance between the points (0, 0) and (x, y)
in 2-dimensional space.

- The main() function computes and
prints the distance from the origin for all points (a, b) such that a
and b are integers between 1 and 3.

2. Write a function isEven(x) that takes an integer x and returns True if x is even and False otherwise.