If you want to delete a single file specifically in google colab, Then try this command.
Now check that It is removed or not by using the below command
If you want to delete the whole folder in google colab, then try this command.
!rm -rf <folder_name>
Hope so it would help you…