pymatgenEasy Playground

Materials science: crystal structures, phase diagrams, analysis

Getting started with pymatgenRun locally
Install
pip install pymatgen
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: pymatgen)

pymatgen is a third-party package. Materials science: crystal structures, phase diagrams, analysis. Install with: pip install pymatgen

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?