Okay
  Print

How to create a configurable product

Please refer this link to create a configurable product as your expectation:

https://docs.magento.com/user-guide/catalog/product-create-configurable.html