I'm creating a small app that just gets jokes from an API using ttkbootstrap. The problem is there are 2 windows showing when I run the app. Anyone know what I'm doing wrong?
Here's the code:
import requests
import ttkbootstrap as tb
from ttkbootstrap.constants import *
def get_joke():
url =
…