Python Quiz Program Code Question! Please!

Asked 2 years ago, Updated 2 years ago, 14 views

Let's make a quiz program that matches Korean words in English if you give them a question

List example) kor = ["Lion", "Tiger", "Rabbit"] eng =['lion','tiger','rabbit']

Please give me the code to make a quiz show!--<

python

2022-09-22 08:39

1 Answers

Quiz = [
    ["Lion",
    ["Tiger", "tiger",
    ["Rabbit", "rabbit",
    ]

for i in range(len(Quiz)):
    print("What is this by english? %s" %Quiz[i][0])
    input()
    print("Answer is \"%s\"" %Quiz[i][1])

Fighting!


2022-09-22 08:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.