Skip to content

Instantly share code, notes, and snippets.

@Bro92
Created September 1, 2018 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bro92/6fc2134063e656a3694cf232a85671b6 to your computer and use it in GitHub Desktop.
Save Bro92/6fc2134063e656a3694cf232a85671b6 to your computer and use it in GitHub Desktop.
Simple Last Fermat Theorem Checker in python 3.7
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