Challenge for Python Basics

Challenge

ab is considered powerful if (and only if) both of the following 2 conditions are met:

  1. ab >= 2 * b2
  2. ab >= (a*b)2

return True if ab is powerful and False otherwise.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]