按下按钮后,我应该在Python Tkinter中使用哪个小部件来编写变量的多个值?

发布于 2025-02-07 02:41:15 字数 269 浏览 0 评论 0原文

我正在进行一个学校项目,我需要在其中重新创建此 image

我正在使用Python Tkinter,在红色突出显示的是我必须输出X变量的值,X变量的值是通过某些方法计算的。

我的问题是我不知道我必须使用哪种tkinter小部件。 另外,如果我再次按“计算”,我必须重写整个窗口。

PS。我诺布

I am doing a school project in which i need to recreate this image.

I am using Python Tkinter and in the red highlighted are i have to output the values of the x variable which are calcualted by some methods.

My problem is that i don't know what kind of Tkinter widget i have to use.(i was thinking of Text Are but i m not sure how i should write on different lines)
Also i have to rewrite the whole window if i press "Calculate" again.

PS. I m a noob

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文