1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
NikAS [45]
3 years ago
6

Given the following code, what are the dimensions, in pixels, of the shape created? import tkinter class myShape: def __init__(s

elf): self.main_window = tkinter.Tk() self.canvas = tkinter.Canvas(self.main_window, width=200, height=200) self.canvas.create_rectangle(30,30, 175, 175) self.canvas.pack() tkinter.mainloop() shape = myShape()
Computers and Technology
1 answer:
S_A_V [24]3 years ago
8 0

Answer:

Width: 145 px, Height: 145 px

Explanation:

To build a figure in Python with canvas, remember that drawing a rectangle is represented with self.canvas.create_rectangle(x1,y1,x2,y2), where x1,y1 are the  coordinates of the top left corner of the figure, and x2,y2, the coordinates of the bottom right corner.

Based on your data, the shape formed will not be a rectangle, but a square. The measures in x2, y2 are equal, so a square figure will form. For example, if you had (30,30,175,150) this would create a rectangle figure.

You might be interested in
The ________ is the main switch station for memory; if the right and left areas are destroyed, the result is widespread amnesia.
Scorpion4ik [409]

Answer:

The answer is hippocampus.

Explanation:

The ___hippocampus._____ is the main switch station for memory; if the right and left areas are destroyed, the result is widespread amnesia. The __hippocampus.______ is the main switch station for memory; if the right and left areas are destroyed, the result is widespread amnesia.

4 0
3 years ago
Almost all application programs are designed to run with a specific platform. Group of answer choices True False
VikaD [51]

Answer:

True

Explanation:

Application softwares are programs that runs in an operating system environment, to perform a specific task. There are different types of application software, they are database applications, word applications, spreadsheet applications, graphics or paint applications etc.

Application softwares differ by the platform on which they run. That is an application built for Windows OS, would only run in windows OS and application for Android run only on Android.

6 0
4 years ago
One of the ways to create a horizontal navigation menu from an unordered list is to a. set the display property of the element w
Gennadij [26K]

Answer: a. set the display property of the element within each li element to inline

Explanation: In an unordered list, <em>ul</em> signifies the list and <em>li</em> signifies the elements in the list. When you want to display the elements in a list in a horizontal form, for example if you need a horizontal menu, a quick way of doing this is setting the display of li to inline by writing it as follows in css:

<em>li { </em>

<em>Display: inline; </em>

<em>} </em>

This will order the elements in the list into the form of a horizontal menu .

8 0
3 years ago
Which is needed for the specific task of inserting a chart into a report?
Arturiano [62]

To add charts in Access to reports, click the “Create” tab in the Ribbon. Then click the “Report Design” button in the “Reports” button group. Unlike other report controls, the chart control uses its own data source to show its data. Therefore, you can insert it into a blank, unassociated report, if desired

6 0
3 years ago
What options are available in the Home tab in the Paragraph grouping
kaheart [24]
I'm assuming : <span>show/hide/paragraph or font</span>
3 0
3 years ago
Other questions:
  • Splunk In most production environments, _______ will be used as the source of data input?
    12·1 answer
  • We have said that an application may choose UDP for a transport protocol because UDP offers finer application control (than TCP)
    7·1 answer
  • WordArt ____ in the interior of a letter can consist of a solid color, texture, picture, or gradient.
    14·1 answer
  • What hex value is the standard indicator for jpeg graphics files?​?
    6·1 answer
  • A formal log-on procedure is the operating system’s last line of defense against unauthorized access.
    10·1 answer
  • Mk chưa hiểu nên các bạn giúp mk vs
    14·1 answer
  • Give two examples of situations or applications where electrical circuits are used.
    15·1 answer
  • What are software applications?
    14·1 answer
  • 4. Arnold curates articles that feature trending lists for an online website. His department is responsible
    5·1 answer
  • Steps for Saving and opening a document.​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!