source for The Mesh extra objects addon in latest version?
Open the preferences (Edit > Preferences).

Switch to the Add-ons tab, search for Extra Objects and enabled the Add Mesh: Extra Objects add-on.

Add a new Regular Solid object (Add > Mesh > Math Function > Regular Solid).

Open the Adjust Last Operation panel in the lower left corner of the 3D View.

Adjust the properties.