Python: solving mathematical, physical and chemical problems