We have a collection named electricCars where all the cars with electric engineType are stored. But one of the developers accidentally added a car with a diesel engine to this collection. Write a command that will delete that one wrong car from our collection.
Delete Operations
Electric cars
Report a typo
Enter a short text
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.