When creating a Label widget, you can use the borderwidth and relief arguments. What…
Jump to turn (9)
- 1When creating a Label widget, you can use the borderwidth and relief arguments.
- 2def init(self): self.n=0 self.x=1 self.y=0 أريد معرفة إسم السطر الثاني
- 3ما هو أستخدام هذا def init(self):
- 4def getavg(x,y): while y!=-1: continue counter1=0 s=0 if y <100: s+=1 counter1+=
- 5def getavg(x,y): while y!=-1: continue counter1=0 s=0 if y <100: s+=1 counter1+=
- 6A Company manager asked the financial department to prepare a report with some s
- 7def main (x,y): global avg avg=sum(s)/n print("the avg ", avg) z=[] n=0 x=eval(i
- 8def getavg(x,y): while True : if x==-1: break counter1=0 if y <100: counter1+=y
- 9rows = int(input("Enter number of rows: ")) number = 1 for i in range(1, rows+1)
- User
When creating a Label widget, you can use the borderwidth and relief arguments. What does each one specify? Define briefly.
- Assistant
The borderwidth argument specifies the width of the border around the Label widget. It takes an integer value representing the number of pixels.
The relief argument specifies the visual appearance of the border. It can take various values such as "flat", "raised", "sunken", "groove", and "ridge". Each value changes the appearance of the border in different ways, giving a 3D effect to the Label.
- User
def init(self): self.n=0 self.x=1
self.y=0 أريد معرفة إسم السطر الثاني - Assistant