Skip to content

Wrong syntax on hello world program #8

@nirban256

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions