Python - How to Write a function

How to Write a function kinda_format ( ) that take three arguments (each of which positive int ) - a,b,c- and tests whether the equality a^n +b^n=c^n holds for each n{2,3,...,10}. The function should return false if the equality does not hold for any value of n in the given range, and if there is a value of n for which the equality holds, the lowest such value (as in int)

Questions by Jeffsdf

Showing Answers 1 - 1 of 1 Answers

Hema

  • Jan 3rd, 2015
 

Python code attached

Code
  1. span style="font-style: italic;"># Main program

  2. " It has the equality ""It does not have equality "

  3.      

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions