Question: Write a nested for loop to generate a list of strings containing every possible composition that can be made from the following list element _

Write a nested for loop to generate a list of strings containing every possible composition that can be made from the following list "element_space" in 5 atm. % intervals.
-Use the following format for compositions:
"Ti15Zr15Hf15VNb15Ta25", do not include elements in the composition if they have 0 atm. % ex "Ti50Zr50"
\table[[In []:,\table[[compositions Ti15Zr15Hf15VNb15Ta25] #fill],[#ex)["Ti50Zr50","Ti15Zr15Hf15VNb15Ta25",..],[element_space =["Ti","Zr","Hf","V","Nb","Ta'],[#use a nested for loop],[for #TODO]]]]
 Write a nested for loop to generate a list of strings

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!