Posts by alter4do • 21 points
3 posts
-
0
votes0
answers40
viewsQ: What is the function of the Unique Switch in foreign keys?
If the foreign key will always reference a primary key, which by definition is unique, then what is the need to define the Unique Constraint in foreign keys?
-
0
votes1
answer39
viewsQ: Why does the background color of my Frame not change during the execution of my application in Tkinter, even with the setting of the bg parameter?
from tkinter import * class Teste(object): def __init__(self): mestre = Tk() mestre.title("Aplicação de teste") mestre.geometry("400x400") mestre.resizable(False, False) #Frames self.frame1 =…
-
2
votes1
answer107
viewsQ: Operator problem not in the condition of a while loop
I made a program to train txt manipulation: def escreve(): BancodeDados = open("Base.txt", "a") continua=True k=1 while continua: nome = input("Nome do cliente: ") idade = input("Idade do cliente:…