조건에 따라 다른 선택지를 나타내는 법 # 1. 리스트와 set 이용 init: $ choices = [ ] label start: menu menu1: set choices "What should I choose?" "Choice 1.": "I choose 1." "Choice 2.": "I choose 2." "Choice 3.": "I choose 3." "Choice 4.": $ choices.remove("Choice 4.") # 에러 방지용 "I choose 4." jump menu1 # if문 이용. init: $ choice1 = choice2 = choice3 = True label start: menu menu2: "What should I choose?" "Choice 1." if choice1: "I choose 1." .. 더보기 이전 1 ··· 173 174 175 176 177 178 179 ··· 196 다음