1、首先在PyCharm软件中,打开一个Python项目。
3、在python文件编辑区中,输入:“setVal = {"apple", "banana", "cherry"}”。
5、在编辑区域点击鼠标右键,在弹出菜单中选择“运行”选项。