I want to creata a python function that will output a tuple which will be in the form of integers. The function should calculate how many rows and columns can be created from this number. For e.g. I input 35, the two possible outputs are (7,5) or (5,7) where the first number is the row and 2nd the column. in case the number is say 20 then it should ouput ( 4,5) or (5,5)
I tried using modulus to determine this but is is not coming up accurately.