给出一系列字母:
IllegalStateException
作为用户,我输入3(注意本例中的兄弟是收件人姓名)。我的代码:
@recipients_list = ["Mum and Dad", "my best friend", "Brother"]
# > Here are the letters available to ship, select one by number
# > 1. Mum and Dad
# > 2. My best friend
# > 3. Brother
当用户按3时,如何从数组中获取兄弟值?有人可以帮忙吗?