function det_beste_saltet=find_best_salt_available()
antall_salter_tilgjengelige=input('Enter the number of salts available. ');
if antall_salter_tilgjengelige==2
combinations_available=input(['Enter the number associated with the combination of salts available. Enter 0 if none of the combinations are available.,'...
'\n1: Only Cloride-salts are available,',...
'\n2: ZnBr is available with one Cloride salt,',...
'\n3: NH4Cl2 is availble with: 1) CH3CO2K, 2) ZnSO4, 3) HCOONa, 4)HCOOK,'...
'\n4: ZnBr is available with: 1) CH3CO2K, 2) ZnSO4, 3) HCOONa, 4)HCOOK,',...
'\n5: CH3CO2K is available with one of these chlorides: 1) NH4Cl2, 2) MgCl2, 3) CaCl2, 4) NaCl, 5) KCl,',...
'\n6: CH3CO2K is available with one of these salts: 1) ZnSO4, 2) HCOONa, 3)HCOOK,',...
'\n7: ZnSO4 is available with one of these chlorides: 1) NH4Cl2, 2) MgCl2, 3) CaCl2 4) NaCl, 5) KCl,',...
'\n8: ZnSO4 is available with one of these formates, 1)HCOONa, 2)HCOOK,',...
'\n9: HCOONa is available with one of these chlorides, 1) NH4Cl2, 2) MgCl2, 3) CaCl2, 4) NaCl, 5) KCl,',...
'\n10: HCOOK is available with one of these chlorides, 1) NH4Cl2, 2) MgCl2, 3) CaCl2, 4) NaCl, 5) KCl,',...
'\n11: HCOONa and HCOOK. '])
0 Comments
Sign in to comment.