from tkinter import Tk, simpledialog, messagebox
import random
Countries, Capitals = {'Belgium':'Brussels','France':'Paris', 'Germany':'Berlin', 'Italy':'Rome', 'Poland':'Warsaw'}
QueryCountry = simpledialog.askstring("What is the capital of " + )
I want to make a program that can quiz you on the capitals of the world using Tkinter. I want to know if you can you random module on dictionaries. if so can you please help me out here? I'm a beginner to code so please help.
Aucun commentaire:
Enregistrer un commentaire