from math import log, pi M = 67 rho = 1.038 c = 3.7 K = 5.4e-3 Ty = 70 Tw = 100 To = 20 t = (M**(2/3)*c*rho**(1/3))/(K*pi**2*(4*pi/3)**(2/3)) \ * log(0.76*(To-Tw)/(Ty-Tw)) print(t/60) #or, for slightly more sophisticated output: minutes = int(t/60) seconds = int(t%60) #% is the modulo ("rest") operator print(f"The egg is ready after {minutes} minutes and {seconds} seconds") """ Terminal> /usr/bin/python3 /Users/sundnes/Desktop/IN1900_31aug/egg.py 5.25363106309877 The egg is ready after 5 minutes and 15 seconds """