Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wrong syntax on hello world program #8

Open
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp