Download the Guru IA app

Android and iOS

Foto de perfil

Raul

SENT BY THE APP
Estudos Gerais11/22/2024

Considere o fragmento de código Python abaixo: import tkinte...

Considere o fragmento de código Python abaixo: import tkinter as tk raiz = tk.Tk() raiz.title('Exemplo') botao = lacuna_I botao.pack() raiz.mainloop() Selecione a opção CORRETA que substitua a palavra lacuna_I de modo que o programa adicione um botão usando o módulo tkinter:

A) tk.Button(janela, text='exemplo', height=1, width=35, command=raiz.destroy) B) tk.CheckButton(raiz, text='exemplo', height=1, width=35, command=raiz.destroy) C) tkk.Button(raiz, text='exemplo', height=1, width=35, command=raiz.destroy) D) Button(janela, text='exemplo', height=1, width=35, command=raiz.destroy) E) tk.Button(raiz, text='exemplo', height=1, width=35, command=raiz.destroy)

Considere o fragmento de código Python abaixo:
import tkinter as tk
raiz = tk.Tk()
raiz.title('Exemplo')
botao = lacuna_I
botao.pack()
raiz.mainloop()
Selecione a opção CORRETA que substitua a palavra lacuna_I de modo que o programa adicione um botão usando o módulo tkinter:

A) tk.Button(janela, text='exemplo', height=1, width=35, command=raiz.destroy)
B) tk.CheckButton(raiz, text='exemplo', height=1, width=35, command=raiz.destroy)
C) tkk.Button(raiz, text='exemplo', height=1, width=35, command=raiz.destroy)
D) Button(janela, text='exemplo', height=1, width=35, command=raiz.destroy)
E) tk.Button(raiz, text='exemplo', height=1, width=35, command=raiz.destroy)
Send your questions through the App
Google Play
App Store
Equipe Meu Guru

Do you prefer an expert tutor to solve your activity?

  • Receive your completed work by the deadline
  • Chat with the tutor.
  • 7-day error guarantee