1、定义烤地瓜类 SweetPotato。
2、定义烤地瓜类的方法 cook(),用于烤地瓜,并记录烤制时间和状态。
3、定义烤地瓜类的方法 add_condiments(),用于添加调料。
4、创建 SweetPotato 对象并调用其方法。