Created
September 1, 2018 07:53
-
-
Save Bro92/6fc2134063e656a3694cf232a85671b6 to your computer and use it in GitHub Desktop.
Simple Last Fermat Theorem Checker in python 3.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
def verifica_fermat(a,b,c,n): | |
if n>2 and a**n + b**n == c**n: | |
print('Santi Numi Fermat si è sbagliato!') | |
else: | |
print('no questo non è vero') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment