Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 541 Bytes

File metadata and controls

23 lines (15 loc) · 541 Bytes

python_scripts

random ml scripts with data

#molecules2atoms.py

returns the counter of atoms in molecule in a dictionary, for ex: input H2O returns {H:2,O:1} input : Mg(SO4)2 returns {Mg:1,S:2,O:8} input:K4[ON(SO3)2]2 returns:{K: 4, O: 14, N: 2, S: 4}

usage python molecules2atoms.py "MOLECULE FORMULA"

#randdata

analyses the data.txt file, with 1-6 rows as input and last row as output

#wordplay.ipynb generates the word bridge for the word ladder

word ladder means changing from one word to another word by one letter at a time