Skip to content

Commit

Permalink
Update Janela.py
Browse files Browse the repository at this point in the history
Removed '#'
  • Loading branch information
mateusadada authored May 2, 2024
1 parent 3e2ad04 commit d8e2b52
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions solved_exercises/VPL/9 - Atividade física/Janela.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import sys
from tkinter import *


##################################################


class Janela(Tk): # (Complete o código que declara a classe)
class Janela(Tk): # (Complete o código que declara a classe)
__Lb_homem = None
__Lb_mulher = None
__Lb_ciclismo = None
Expand Down Expand Up @@ -102,7 +98,6 @@ def inicialize(self):
# que realiza os cálculos da Questão 07?)
self.__Bt_calc = Button(self, text='Calcular', command=self.action_Bt_calc)

############# Grid #############
# Questão 10: (Acrescentar na tela os componentes gráficos)
self.__Lb_homem.grid(row=0, column=1, padx=4, pady=4, sticky=NW)
self.__Lb_mulher.grid(row=0, column=2, padx=4, pady=4, sticky=NW)
Expand All @@ -125,5 +120,3 @@ def inicialize(self):
self.__Bt_calc.grid(row=4, column=1, sticky=NW, padx=4, pady=4)

self.protocol("WM_DELETE_WINDOW", self.action_exit)

##################################################

0 comments on commit d8e2b52

Please sign in to comment.