79146077

Date: 2024-10-31 19:19:21
Score: 1
Natty:
Report link

Try importing tkinter like this:

import tkinter as tk

In Python 3.x, the tkinter module's name starts with a lowercase letter, unlike in Python 2.x.

Also, avoid using wildcard imports, as they can make code less readable and prone to conflicts. Instead, just import tkinter as tk and use the tk prefix.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Valer