print("I will read in your mind"" ") from random import* A = randint(0,51) B = randint(1,3) C = randint(0,51) D = randint(0,3) E = randint(0,3) F = randint(0,51) answer = input("This program requires a calculator; will you calculate here ?"" ") if answer in ["Yes","yes","yeah","YES","yep","YEP","YEAH"] : X = int(input("Think of a number :"" ")) Y = X+A input('Add'" "+str(A)+" ") Y = Y*B input("Multiply the result by" " "+str(B)+ " ") Y = Y-C input ('Substract'" "+str(C)+" "'to the result' " ") Y = Y**D input("Raise to the power of" " "+str(D)+ " ") Y=Y*E input("Multiply the result by" " "+str(E)+ " ") Y = Y-F input ('Substract'" "+str(F)+" "'to the result' " ") Y = Y-X input ("Substract the number you choosed to the final result" " ") texte = input ("Your result is : "+str(Y)+" ") if texte in ["Wow" , "Great" , "Magic" , "wow" , "great" , "magic" , "perfect" , "Perfect" , "cool" , "Cool"] : print("Thanks ! it's only a mathematical illusion") else : print("It's only a mathematical illusion ! :)") elif answer in ["no","No","nn","Nn","NO"] : input("Think of a number" " ") input('Add'" "+str(A)+" ") input("Multiply the result by" " "+str(B)+ " ") input ('Substract'" "+str(C)+" "'to the result' " ") input("Raise to the power of" " "+str(D)+ " ") input("Multiply the result by" " "+str(E)+ " ") input ('Substract'" "+str(F)+" "'to the final result' " ") Z = (((A*B - C)**D)*E-F) input ("Substract the number you thought to your final result" " ") text = input ("Your result is : "+str(Z)+ " ") if text in ["Wow" , "Great" , "Magic" , "wow" , "great" , "magic" , "perfect" , "Perfect" , "cool" , "Cool", "Awesome","Amazing", "awesome", "amazing"] : print("Thanks ! it's only a mathematical illusion") else : print("It's only a mathematical illusion ! :)") else : print("Error") print ("END") print ("By Shadow")