Question: Suppose a file contains bond energies and bond lengths for covalent bonds in the following format: Write a program that accepts data from one column
Suppose a file contains bond energies and bond lengths for covalent bonds in the following format:


Write a program that accepts data from one column and returns the corresponding data from the other columns in the stored file. If input data matches different rows, then return all matching row data. For example, a bond length input of 0.12 should return triple bond C|||C and bond energy 890 kJ/mol and single bond N|O and bond energy 250 kJ/mol.
Slngle, double, or triple bond Bond energy (kl/mol) Bond length (nm) 370 0.154 C|C 680 0.13 890 0.12 CH 435 0.11 CIN 305 0.15 OChris DascheriStoc kp hoko,
Step by Step Solution
3.37 Rating (166 Votes )
There are 3 Steps involved in it
Basic outline of a Python program that does what you described def getbonddatacolumn val... View full answer
Get step-by-step solutions from verified subject matter experts
