box_content=[[[1,2,4],[4,5,1]],[[2,3,1],[2,3,1]]]
def pop_a_message(box_content):
send_message_index = random.randrange(len(box_content))
receive_message_index = random.randrange(len(box_content) - 1)
if send_message_index >= receive_message_index: receive letter += 1
friend_message= random.randrange(len(send_message[0]))
我可以更改此功能,以便从send_message
将要选择的功能中,特定的friend_message
(例如索引 [0] 中的朋友消息)会比其他功能更频繁地出现吗?