def constValue(constName):
if constName == "Pi":
value = 3.14159
elif constName == "e":
value = 2.71828
elif constName == "gamma":
value = 0.57721
else:
value = 1.61803
return value
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
def constValue(constName):
if constName == "Pi":
value = 3.14159
elif constName == "e":
value = 2.71828
elif constName == "gamma":
value = 0.57721
else:
value = 1.61803
return value