-
Create a method called
square
which takes a parameterx
and squares it -
Create a method called
to_bool
, which takes a string parameter calledquestionable_string
and if the text of the string is 'true' then return the boolean value true, otherwise return false. -
Create a method called
is_prime
, which calculates if an input parameterx
is prime, and return true or false. Just brute force this and don't try to be too smart about it.