有没有办法提供三个选择并弹出弹出窗口供您选择呢?

我认为可行的唯一方法是:

inp = input("Choose between A,B and C: ")
if inp = A
    choice = ABCDEFGH
elif inp = B
    choice = IJKLMNO
elif inp =C
    choice = PGQRSTUV
else
    print("Wrong Input")
    break

有没有更简单的方法可以在3个长字符串之间进行选择?

iCMS 回答:有没有办法提供三个选择并弹出弹出窗口供您选择呢?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2230722.html

大家都在问