Just press the flag and watch. Stellar black holes are made when the center of a very big star falls in upon itself, or collapses. When this happens, it causes a supernova. A supernova is an exploding star that blasts part of the star into space. As the star runs out of nuclear fuel, some of its mass flows into its core. Eventually, the core is so heavy that it cannot withstand its own gravitational force. The core collapses, which results in the giant explosion of a supernova.
Note: This a Image of star from: deccanherald.com Code by @atthecoder