Skip to content

Wrong syntax on hello world program #8

Description

@nirban256

The given code is

"""Hello World application for Tkinter"""


from tkinter import *
from tkinter.ttk 
import *

root = Tk()

label = Label(root, text="Hello World")
label.pack()
root.mainloop()

It should be like this on the second line because otherwise it is giving me error

"""Hello World application for Tkinter"""


from tkinter import *
from tkinter.ttk import *

root = Tk()

label = Label(root, text="Hello World")
label.pack()
root.mainloop()

On the second line the import of 3rd line should be on the above line

If you can assign me the issue then I can create a pull requeest to solve the issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions