def Kvalue(mo,type):
	if (mo >= 2):
		if (type == "Argile"):
			return 0.028
		if (type == "Loam argileux"):
			return 0.037
		if (type == "Loam sableux grossier"):
			return 0.009
		if (type == "Sable fin"):
			return 0.008
		if (type == "Loam sableux fin"):
			return 0.022
		if (type == "Argile lourde"):
			return 0.020
		if (type == "Loam"):
			return 0.038
		if (type == "Sable fin loameux"):
			return 0.012
		if (type == "Sable loameux"):
			return 0.005
		if (type == "Sable très fin loameux"):
			return 0.033
		if (type == "Sable"):
			return 0.003
		if (type == "Loam sablo-argileux"):
			return 0.026
		if (type == "Loam sableux"):
			return 0.016
		if (type == "Loam limoneux"):
			return 0.049
		if (type == "Argile limoneuse"):
			return 0.034
		if (type == "Loam limono-argileux"):
			return 0.040
		if (type == "Sable tres fin"):
			return 0.049
		if (type == "Loam sableux tres fin"):
			return 0.044
		else:
			return 0.033
	if (mo < 2):
		if (type == "Argile"):
			return 0.032
		if (type == "Loam argileux"):
			return 0.044
		if (type == "Loam sableux grossier"):
			return 0.009
		if (type == "Sable fin"):
			return 0.012
		if (type == "Loam sableux fin"):
			return 0.029
		if (type == "Argile lourde"):
			return 0.025
		if (type == "Loam"):
			return 0.045
		if (type == "Sable fin loameux"):
			return 0.020
		if (type == "Sable loameux"):
			return 0.007
		if (type == "Sable très fin loameux"):
			return 0.058
		if (type == "Sable"):
			return 0.001
		if (type == "Loam sablo-argileux"):
			return 0.026
		if (type == "Loam sableux"):
			return 0.018
		if (type == "Loam limoneux"):
			return 0.054
		if (type == "Argile limoneuse"):
			return 0.036
		if (type == "Loam limono-argileux"):
			return 0.046
		if (type == "Sable tres fin"):
			return 0.061
		if (type == "Loam sableux tres fin"):
			return 0.054
		else:
			return 0.026
	else:
		return 0.028
		
		

		
		
