How to simplify this to be more small
from tkinter import *
from random import randint
from tkinter import ttk
import tkinter as tk
import random, os
Thanks
>Solution :
constructing on @SAM’s answer, you can further reduce a line of code like this:
import tkinter as tk
import random, os
If you want to further make it a 1-liner, then you must perform blasphemy in python: the semicolon
import tkinter as tk; import random, os