Informática, perguntado por gabrielabatistajesus, 2 meses atrás

Considere o programa em Python abaixo: from tkinter import Tk, Button, Label, Entry, END def clicked(): global entry name = entry.get() print('Ola', name) entry.delete(0, END) root = Tk() label = Label(root, text='Nome:') label.grid(row=0, column=0) entry = Entry(root) entry.grid(row=0, column=1) button = Button(root, text='OK', command=clicked) button.grid(row=1, column=0, columnspan=2) root.mainloop() Sobre a função mainloop(): I. Ela executará uma série de tarefas e retornará logo em seguida. II. Ela entrará em um loop infinito. III. É um método da classe Tk. a. II e III b. I e II c. I e III d. I, II e III e. Apenas II

Soluções para a tarefa

Respondido por marioapscandolera
7

Resposta:

Sobre a função mainloop():

II e III estão corretas

Explicação:

Conferido no ava

Anexos:
Perguntas interessantes