注:并没有使用函数。
data = {: {: {: [, ], : [, ]}, : {}}, : {}} exit_flag = exit_flag: menu1 data: (menu1) choice1 = () choice1 data: exit_flag: menu2 data[choice1]: (, menu2) choice2 = () choice2 data[choice1]: exit_flag: menu3 data[choice1][choice2]: (, menu3) choice3 = () choice3 data[choice1][choice2]: i data[choice1][choice2][choice3]: (, i) choice4 = () choice4 == : choice4 == : exit_flag = choice4 == : (, ) exit_flag = choice4 == : (, ) exit_flag = choice3 == : choice3 == : exit_flag = choice2 == : choice2 == : exit_flag = choice1 == : exit_flag =
时间: 2024-10-06 00:38:44