# Open computer drives like C, D or E using Python # import libraryimport os  # take Input from the user query = input("Which drive you have to open ? C , D or E: \n")  # Check the condition for # opening the C driveif "C" in query or "c" in query:  os.startfile("C:")    # Check the condition for # opening the D driveelif "D" in query or "d" in query:  os.startfile("D:")  # Check the condition for # opening the D driveelif "E" in query or "e" in query:  os.startfile("E:")  else:    print("Wrong Input")