Put the lesson Strings into practice by writing a program yourself.
Material names copied from instrument files often have extra spaces and inconsistent capitals. The name below came out as " silicon carbide ".
Tidy it up, then print some information about the cleaned name.
Silicon Carbide.First letter: S using indexing.Length: 15 using len().Silicon Carbide First letter: S Length: 15
Write your program below and press Run. Each run is checked against the expected output.
Press Run to see what your program prints.
One possible solution. Other programs that print the same output are correct too.
raw_name = " silicon carbide "material_name = raw_name.strip().title()print(material_name)print(f"First letter: {material_name[0]}")print(f"Length: {len(material_name)}")