Formating USB(pendrive) after installing done in Dell laptop.
2 Answers
If you installed Ubuntu 18.04 on your local hard drive from an USB stick, and the installation succeeded, first reboot your computer without the stick connected to check that everything is working fine, and if it is, you can format your USB drive directly from your new ubuntu installation, assuming you won't need to use it for installing Ubuntu again.
Often during install the grub bootloader gets put on the Installer pendrive rather than the HDD, in which case the pendrive needs to be plugged in to boot.
Try installing using "Something else", when you get to the partitioning stage.
Confirm that the HDD is chosen for bootloader location.
toram
you could even umount & format the USB right then