in games and programs we write, why do sprites sometimes register as colliding when it doesn't visually look like they are?

Answers

Answer 1

Sprites sometimes register as colliding when it doesn't visually look like they are because the game engine is detecting a collision based on the coordinates of the sprites, rather than the actual visual representation of the sprites.

A sprite may have a complex shape, but it is usually represented by a simple rectangular shape with a specific set of coordinates and dimensions.

This means that even if the sprites don't appear to be overlapping, the game engine may still detect a collision if the coordinates of the sprites overlap.

For more questions like Sprites click the link below:

https://brainly.com/question/25953605

#SPJ4


Related Questions

There is a weird green and black kinda growth on my screen that moves when I squeeze the screen, it also looks kinda like a glitchy thing too,Please help

Answers

LCD stands for Liquid Crystal Display. So yes, what you're seeing is liquid. it's no longer contained where it needs to be.

what is the computational complexity of the recursive factorial method?

Answers

The recursive factorial method has a computational complexity of O(n), which means that it grows linearly with the size of the input. This is because each recursive call of the factorial function multiplies the current value by one less than the current value until it reaches 1

so it takes n multiplications to compute the factorial of n. In other words, the number of operations required to compute the factorial of n using the recursive method is proportional to n. This makes the recursive method less efficient than the iterative method for computing factorials, which has a computational complexity of O(1) because it only requires a fixed number of operations (n multiplications) regardless of the input size. However, the recursive method is often more intuitive and easier to understand, especially for small inputs.

To know more about computational visit:

https://brainly.com/question/31064105

#SPJ11

true or false computer cannot do work by itself​

Answers

Answer:

True

Explanation:

Because it cannot operate without electricity and humans.

Mark me as brainlist.

Which of the following methods could be used to start an activity from a fragment?
o startContextActivity()
o startActivity()
o startHostActivity()
o startFragment()

Answers

The correct method that could be used to start an activity from a fragment is (b) startActivity().

An activity can be launched by using an Intent. Activities are generally used to present GUI elements or handle user interaction. Activities can also be launched from another activity or fragment. Here, the appropriate method to use to launch an activity from a fragment is startActivity().Intent is an essential class that facilitates launching a new activity. The action that is to be performed is described using this class. To specify the action, Intent() is called and then the activity's name is specified. Intent can be used to pass data between activities as well. If the data is only a few strings or numbers, it is best to use putExtra(). If you want to pass objects or complex data, you should create a Parcelable or Serializable object and pass it in using putParcelableExtra() or putSerializableExtra() in the Intent's extras. The fragment can call startActivity() on the Context object obtained by getActivity() to launch an activity. This can be accomplished in the following steps:Call getActivity() to obtain the current fragment's context. It is a good idea to verify that the activity is not null before proceeding.```if (getActivity() != null) {    // Launch Activity    Intent intent = new Intent(getActivity(), MyActivity.class);    startActivity(intent);}```

Know more about Intent() here:

https://brainly.com/question/32177316

#SPJ11

true or false: when your system is idle, or an application is running, the processor should not be running at its peak.

Answers

"True or false: when your system is idle, or an application is running, the processor should not be running at its peak."

The processor is to execute instructions and carry out tasks. When the system is idle, there are fewer instructions to execute, and therefore, the processor should not be running at its peak. Similarly, when an application is running, the processor will execute instructions specific to that application, but it should not be constantly running at its peak.

When your system is idle or running a basic application, the processor does not need to run at its peak performance. Modern processors are designed to adjust their performance based on the current workload, saving energy and reducing heat generation.

To know more about Running visit:-

https://brainly.com/question/13761360

#SPJ11

Internal Factors Evaluation Matrix Apple
Inc.
Write 10 relevant internal strenghts and 10 relevant internal
weaknesses
(include weight and rating)

Answers

Internal Factors Evaluation Matrix (IFE) is a strategic management tool that evaluates an organization's internal strengths and weaknesses.

In the case of Apple Inc., I will provide 10 relevant internal strengths and 10 relevant internal weaknesses, including their weight and rating.Strong brand recognition and reputation (Weight: 0.10, Rating: 4) - Apple has built a strong brand image and is recognized worldwide for its innovative and high-quality products.High customer loyalty (Weight: 0.08, Rating: 4) - Apple customers tend to be highly loyal and often exhibit repeat purchase behavior.


Extensive intellectual property portfolio (Weight: 0.07, Rating: 4) - Apple holds a large number of patents and trademarks, providing a competitive advantage and protecting its innovations.Strong financial position (Weight: 0.08, Rating: 4) - Apple has consistently achieved strong financial results and has substantial cash reserves.Innovative product design and user experience (Weight: 0.09, Rating: 4) - Apple's products are known for their sleek design, intuitive user interfaces, and seamless integration.
To know more about strategic visit:

https://brainly.com/question/24183224

#SPJ11

Which option should Gina click to edit the text contained in a text box on a slide in her presentation?

rotation handle
sizing handle
expansion handle
text box

Answers

text box
hope this helped

What does Amara hope will
happen when Dad sits on the sofa?

Answers

Amara hope her  Dad will be comfortable using the sofa. Check more about sofa below.

What does sofa implies?

A sofa is known to be a type of long seat that is often made with arms and it also has a back rest. One can convert the sofa to a bed.

Conclusively, when Amara got the sofa for her dad, she hope that her dad will be comfortable using the sofa.

Learn more about sofa from

https://brainly.com/question/14791147

Select the correct answer.

Which statement is true with respect to Java?

Answers

Answer:

where are the options ..... to select

A ___ prepares students for a career in vocational work with the necessary practical instruction.

A. trade school
B. public college
C. private university
D. community college​

Answers

Answer: A. Trade school

A trade school prepares students for a career in vocational work with the necessary practical instruction. Hence option A is correct.

What is trade school

A trade school, which can also be called a vocational school or technical school, helps students get ready for a job in vocational work by teaching them the essential hands-on skills they need. Trade schools are different from regular colleges and universities.

Trade schools offer training programs and classes that help students learn the necessary skills and knowledge needed for a specific job or industry. These programs are usually shorter than regular four-year degree programs and they often result in certifications, diplomas, or associate degrees.

Read more about trade school here:

https://brainly.com/question/29828287

#SPJ2

what is the name of a protocol that lets users share files over a network? apache dns cups nfs

Answers

The protocol that lets users share files over a network is called the Network File System (NFS).

The Network File System (NFS) is a protocol that allows users to share files and directories across a network. It enables remote access to files on a server as if they were local files on the user's own system. NFS is commonly used in Unix and Linux environments for file sharing and distributed file systems.

It provides a convenient and efficient way to share and access files over a network, allowing multiple users to collaborate and work with shared data. NFS operates on the client-server model, where the server exports directories that can be mounted by remote clients, providing seamless file access and sharing capabilities.

Learn more about Network File System here: brainly.com/question/30772460
#SPJ11

Which item was key to how Microsoft got its start in the 1970s? a. artificial intelligence b. vacuum tubes c. Altair 8800 d. UNIX​

Answers

Answer:

A??

Explanation:

Answer:

UNIX

Explanation:

As a newly formed company, Microsoft's first operating system product that was publicly released was a version of Unix called Xenix, released in 1980. Xenix was later used as the basis for Microsoft's first word processor, called Multi-Tool Word, a predecessor to Microsoft Word.

1. Create a naive Bayes model for this data set.



2. What prediction will the naive Bayes model return for the query q=(1,0,0)?

Answers

Answer:

import the GaussianNB class from the scikit-learn naive bayes module using the import statement;

from sklearn.naivebayes import GaussianNB

create the classifier,

clf = GaussianNB()

Then train or fit a section of the dataset (the training set) with the classifier, then predict the label of the test section of the dataset with the provided query "q".

trained = clf.fit( train_features, train_label)

predict = clf.predict(q)

Explanation:

The scikit-learn is a machine learning package in python used to create machine models from datasets. It has several classifiers and regressions algorithms.

The naive baye algorithm is a machine learning class in python used in supervised machine learning to create models used to predict a label given a set of features using a classifier.

What does data warehousing allow organizations to achieve?

Answers

What does data warehousing allows organizations to collect only the current day's data from their various databases.

What is the role of Data warehousing?

The role of data helps to boast the the speed and efficiency of accessing a lot of data sets in an organization.

What does data warehousing allows organizations to collect only the current day's data from their various databases.

Learn more about  Data warehousing from

https://brainly.com/question/25885448

#SPJ1

Describe the difference between absolute and relative links. Which would you use when?

Answers

An absolute link is used when the href has a link that includes the entire domain name. A relative link is a path to a resource relative to the current HTML document’s location, according to how the web server is determining that location. Most often, an HTML document’s location is determined by its directory.

If I wanted to refer someone to a website, I would use absolute links. If I wanted to refer to links on the same server as the page that contains them, I would use relative links.

Hope this helps :)

area of trapezium is 54cmsq if parallel sides are 10cm and 8cm long find the distance between the parallel sides​

Answers

Explanation:

the distance between the parallel sides is the height(h)

formula to find area of trapezium :

Area = 1/2(a+b) h

54 = 1/2 (8+10) h

54=1/2(18) h

54 =9h

54/9=h

h= 6 (ans)

You should divide the canvas into an imaginary grid with NUM_RECTANGLES_ACROSS rectangles across, and NUM_RECTANGLES_DOWN rectangles down. Each time the user moves the mouse, a rectangle aligned with this grid should be drawn so that the mouse’s location is within the rectangle. The rectangle should change color each time the mouse passes over it.

This requires using the mouseMoveMethod as well as writing a function.

Answers

The program for rectangle should change color each time the mouse passes over it is in the explanation part.

What is programming?

Computer programming is the process of writing code that instructs a computer, application, or software programme on how to perform specific actions.

Based on the given instructions, here is an example implementation in Java:

import java.awt.Color;

import java.awt.Graphics;

import java.awt.event.MouseEvent;

import java.awt.event.MouseMotionAdapter;

import javax.swing.JFrame;

import javax.swing.JPanel;

public class DrawingGrid extends JPanel {

   // number of rectangles across and down

   private static final int NUM_RECTANGLES_ACROSS = 10;

   private static final int NUM_RECTANGLES_DOWN = 10;

   // current mouse position

   private int mouseX, mouseY;

   // current rectangle coordinates

   private int rectX, rectY;

   // current rectangle color

   private Color rectColor = Color.WHITE;

   public DrawingGrid() {

       addMouseMotionListener(new MouseMotionAdapter() {

           public void mouseMoved(MouseEvent e) {

               mouseX = e.getX();

               mouseY = e.getY();

               updateRectangle();

               repaint();

           }

       });

   }

   private void updateRectangle() {

       // calculate the rectangle coordinates based on the mouse position and grid size

       int rectWidth = getWidth() / NUM_RECTANGLES_ACROSS;

       int rectHeight = getHeight() / NUM_RECTANGLES_DOWN;

       rectX = (mouseX / rectWidth) * rectWidth;

       rectY = (mouseY / rectHeight) * rectHeight;

       // change the rectangle color

       if (rectColor == Color.WHITE) {

           rectColor = Color.BLACK;

       } else {

           rectColor = Color.WHITE;

       }

   }

   public void paintComponent(Graphics g) {

       super.paintComponent(g);

       // draw the rectangle at the current coordinates and color

       g.setColor(rectColor);

       g.fillRect(rectX, rectY, getWidth() / NUM_RECTANGLES_ACROSS, getHeight() / NUM_RECTANGLES_DOWN);

   }

   public static void main(String[] args) {

       JFrame frame = new JFrame("Drawing Grid");

       frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

       frame.setSize(400, 400);

       frame.add(new DrawingGrid());

       frame.setVisible(true);

   }

}

Thus, the main() method creates a JFrame and adds the JPanel to it to display the grid.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ1

Buying the newest phone as soon as it is released when your current phone works perfectly is not a good idea for all but which of the following reasons?

Answers

Answer:

You are gonna waste money and it might not be the best idea

Explanation:

Answer:

waste money

Explanation:

typically, the first iteration or two of the up produces documentation and a ____ system

Answers

The first iteration or two of the up produces documentation and a prototype system. Prototyping involves the production of a partial implementation of the system.

Prototyping enables users to assess the system’s usability and verify that the requirements have been correctly interpreted. Prototyping can be utilized as part of iterative development, allowing the system to be constructed in smaller increments.Prototyping is a method for creating prototypes or models of a system, as well as a tool for developing and refining requirements and design. It is used to confirm that the software will meet user expectations and that it will function properly. A prototype is a limited model of a product or system that is created for testing and development purposes. It’s a small version of the end product that includes only the key features or functions. As a result, a prototype may be created in a variety of formats, including sketches, wireframes, mockups, or working software. A prototype can be used to evaluate a system’s functionality and usability and to gather feedback from users.

To know more about first iteration visit:

https://brainly.com/question/32215783

#SPJ11

Put the following numbers in order from greatest to least: 15 0 -11 45 -37.
A. 45,15,0,-11 -37
B. 45, -37, 15, -11, 0
C. -11, -37, 0, 15, 45
D.45, 15, 0, -37, -11​

PLEASE HELP ME I NEED TO DO IT NOW

Answers

Answer:

A

Explanation:

The smallest number is -37 and the largest is 45

Option A, 45 is the largest number in the group. And -37 is the smallest. The other numbers in Option A are in the correct order.

Mary and Billy are moving away to college and both know in their hearts that they need to end their relationship. They move away with a mutual agreement to breakup and leave peacefully. What is this called

Answers

In the case of Mary and Billy, the above is called Negotiated farewell.

What is Negotiated farewell?

In the case of  Negotiated Farewell, one can say that couples are knonw to jointly create the story of the end to what we say their marriage.

Note that Negotiated Farewell is one that is made for emotionally immature or any kind of combative people. hence, In the case of Mary and Billy, the above is called Negotiated farewell.

Learn more  about relationship from

https://brainly.com/question/10286547

#SPJ1

how can an administrator retrieve the ip address settings of a computer using powershell?

Answers

To retrieve the IP address settings of a computer using PowerShell, an administrator can utilize the built-in cmdlets that come with the Windows operating system. These cmdlets provide an easy way to gather information about the network configuration of a machine, including its IP address settings.

To get started, open up PowerShell on the computer you want to retrieve the IP address settings from. Then, run the following command: Get-NetIPAddress This command will display a list of all IP addresses associated with the computer, including the IPv4 and IPv6 addresses. If you only want to view the IPv4 address, you can run the following command instead: Get-NetIPAddress -AddressFamily IPv4

This will only display the IPv4 address associated with the computer. In addition to the IP address settings, an administrator can also use PowerShell to retrieve other network-related information, such as the default gateway, DNS server, and subnet mask. For example, to view the default gateway, run the following command: Get-NetRoute -DestinationPrefix 0.0.0.0/0 | Select-Object -ExpandProperty NextHop This command will display the IP address of the default gateway configured on the computer. In summary, PowerShell provides a simple and efficient way for administrators to retrieve the IP address settings of a computer. By leveraging the built-in cmdlets, an administrator can quickly gather the information they need to troubleshoot network-related issues and ensure that the computer is properly configured for its intended use.

Learn more about IP address here-

https://brainly.com/question/31453021

#SPJ11

What will you see on the next line? >>> int(6.5)

Answers

Answer:

6

Explanation:

The int functions founds down to the nearest whole number, which in this case would be 6.

Answer:

6

Explanation:

HELP ME PLZ IM AM STUCK ON THIS I NEED AWNSERS

HELP ME PLZ IM AM STUCK ON THIS I NEED AWNSERS

Answers

Answer:

What are your cards?? I may be able to help you if you put your cards. :)

Explanation:

Explain any TWO (2) data information that shall be covered under "Safety Data Sheet" and elaborate why do you think the information is needed

Answers

Safety data sheets include details about chemical items that assist users in evaluating the risks. They outline the risks the chemical poses and include details on handling, storage, and emergency procedures in the event of an accident.

The properties of each chemical, its physical, health and environmental properties, protective measures, and precautions for handling, storage and transportation of the chemical are contained in a safety data sheet (formerly called safety data sheet).

Provides recommendations for each individual chemical on topics such as:

PPE, or personal protective equipmentfirst aid techniquescleanup procedures for spills

To learn more on Safety Data Sheets, here:

https://brainly.com/question/28244620

#SPJ4

A program is
O the language computers use to communicate.
O writing a program in a specific language.
a set of instructions given to a computer.
a specific coding language.
A program is ?

Answers

Answer:

The correct answer is option 3: a set of instructions given to a computer.

Explanation:

A computer works on the instructions that are given by the user. The user has to provide both, the data and the instructions. There are several methods to give input to a computer. One of them is a program which is written in a programming language.

Hence,

A program is a set of instruction given to a computer

The correct answer is option 3: a set of instructions given to a computer.

during a routine inspection, a network engineer found that a data rack was not properly grounded. to pass inspection, you have been tasked with making sure all network racks are properly grounded. which tool should you use to complete your task?

Answers

The tool you should use to complete this task is a multimeter.

Which tool should you use to complete your task?A multimeter can be used to measure the electrical resistance of the ground wire and ensure it is properly connected to the rack.A multimeter should be used to test the continuity of the ground connections. This will help to ensure that the connection is properly grounded and up to code.To complete the task of properly grounding all network racks, the most important tool to use is a multimeter.A multimeter is an instrument that measures voltage, current, and resistance in electrical circuits.With a multimeter, a network engineer can measure the resistance between the ground connection and the frame of the rack to ensure that the rack is properly grounded.A technician will use the multimeter to check the resistance between the ground connection and the frame of the rack.If the resistance is within the expected range, then the rack is properly grounded and can pass inspection.If the resistance is too high, then the technician will need to add additional grounding to ensure that the rack is properly grounded and will pass inspection.A multimeter is an essential tool for any network engineer tasked with ensuring all network racks are properly grounded.

To learn more about ohmmeter refer to:

https://brainly.com/question/24190297

#SPJ4

the principle of limiting users access privileges to the specific informaiton required to perform their assigned tasks is known as need to know

Answers

Minimal access refers to the idea of restricting users' access rights to the information that is necessary for them to do their given responsibilities.

The given statement is False.

What is the principle of least privilege (POLP)?

Computer security is based on the principle with least privilege (POLP), which restricts users' access permissions to only those that are absolutely necessary for them to perform their duties. Users are only permitted to read, write, or execute the files or resources they need in order to complete their tasks.

Why is the principle of least privilege (PoLP) crucial?

Malware cannot spread throughout your network because of the least privilege concept. An administrator as well as superuser who has access to numerous other network infrastructures and resources may be able to infect all of those other systems with malware.

To know more about principle of least privilege (POLP) visit:

https://brainly.com/question/29793574

#SPJ4

I understand that the question you are looking for is:

The principle of limiting users' access privileges to the specific information required to perform their assigned tasks is known as minimal access.

a. True

b. False

python

how do I fix this error I am getting

code:

from tkinter import *
expression = ""

def press(num):
global expression
expression = expression + str(num)
equation.set(expression)

def equalpress():
try:
global expression
total = str(eval(expression))
equation.set(total)
expression = ""

except:
equation.set(" error ")
expression = ""

def clear():
global expression
expression = ""
equation.set("")


equation.set("")

if __name__ == "__main__":
gui = Tk()



gui.geometry("270x150")

equation = StringVar()

expression_field = Entry(gui, textvariable=equation)

expression_field.grid(columnspan=4, ipadx=70)


buttonl = Button(gui, text=' 1', fg='black', bg='white',command=lambda: press(1), height=l, width=7)
buttonl.grid(row=2, column=0)

button2 = Button(gui, text=' 2', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button2.grid(row=2, column=1)

button3 = Button(gui, text=' 3', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button3.grid(row=2, column=2)

button4 = Button(gui, text=' 4', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button4.grid(row=3, column=0)
button5 = Button(gui, text=' 5', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button5.grid(row=3, column=1)
button6 = Button(gui, text=' 6', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button6.grid(row=3, column=2)
button7 = Button(gui, text=' 7', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button7.grid(row=4, column=0)
button8 = Button(gui, text=' 8', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button8.grid(row=4, column=1)
button9 = Button(gui, text=' 9', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button9.grid(row=4, column=2)
button0 = Button(gui, text=' 0', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
button0.grid(row=5, column=0)


Add = Button(gui, text=' +', fg='black', bg='white',command=lambda: press("+"), height=l, width=7)
Add.grid(row=2, column=3)

Sub = Button(gui, text=' -', fg='black', bg='white',command=lambda: press(2), height=l, width=7)
Sub.grid(row=3, column=3)

Div = Button(gui, text=' /', fg='black', bg='white',command=lambda: press("/"), height=l, width=7)
Div.grid(row=5, column=3)

Mul = Button(gui, text=' *', fg='black', bg='white',command=lambda: press("*"), height=l, width=7)
Mul.grid(row=4, column=3)

Equal = Button(gui, text=' =', fg='black', bg='white',command=equalpress, height=l, width=7)
Equal.grid(row=5, column=2)

Clear = Button(gui, text=' Clear', fg='black', bg='white',command=clear, height=l, width=7)
Clear.grid(row=5, column=1)

Decimal = Button(gui, text=' .', fg='black', bg='white',command=lambda: press("."), height=l, width=7)
buttonl.grid(row=6, column=0)

gui.mainloop()

Answers

Answer:

from tkinter import *

expression = ""

def press(num):

global expression

expression = expression + str(num)

equation.set(expression)

def equalpress():

try:

 global expression

 total = str(eval(expression))

 equation.set(total)

 expression = ""

except:

 equation.set(" error ")

 expression = ""

def clear():

global expression

expression = ""

equation.set("")

if __name__ == "__main__":

gui = Tk()

 

equation = StringVar(gui, "")

equation.set("")

gui.geometry("270x150")

expression_field = Entry(gui, textvariable=equation)

expression_field.grid(columnspan=4, ipadx=70)

buttonl = Button(gui, text=' 1', fg='black', bg='white',command=lambda: press(1), height=1, width=7)

buttonl.grid(row=2, column=0)

button2 = Button(gui, text=' 2', fg='black', bg='white',command=lambda: press(2), height=1, width=7)

button2.grid(row=2, column=1)

button3 = Button(gui, text=' 3', fg='black', bg='white',command=lambda: press(3), height=1, width=7)

button3.grid(row=2, column=2)

button4 = Button(gui, text=' 4', fg='black', bg='white',command=lambda: press(4), height=1, width=7)

button4.grid(row=3, column=0)

button5 = Button(gui, text=' 5', fg='black', bg='white',command=lambda: press(5), height=1, width=7)

button5.grid(row=3, column=1)

button6 = Button(gui, text=' 6', fg='black', bg='white',command=lambda: press(6), height=1, width=7)

button6.grid(row=3, column=2)

button7 = Button(gui, text=' 7', fg='black', bg='white',command=lambda: press(7), height=1, width=7)

button7.grid(row=4, column=0)

button8 = Button(gui, text=' 8', fg='black', bg='white',command=lambda: press(8), height=1, width=7)

button8.grid(row=4, column=1)

button9 = Button(gui, text=' 9', fg='black', bg='white',command=lambda: press(9), height=1, width=7)

button9.grid(row=4, column=2)

button0 = Button(gui, text=' 0', fg='black', bg='white',command=lambda: press(2), height=1, width=7)

button0.grid(row=5, column=0)

Add = Button(gui, text=' +', fg='black', bg='white',command=lambda: press("+"), height=1, width=7)

Add.grid(row=2, column=3)

Sub = Button(gui, text=' -', fg='black', bg='white',command=lambda: press("-"), height=1, width=7)

Sub.grid(row=3, column=3)

Div = Button(gui, text=' /', fg='black', bg='white',command=lambda: press("/"), height=1, width=7)

Div.grid(row=5, column=3)

Mul = Button(gui, text=' *', fg='black', bg='white',command=lambda: press("*"), height=1, width=7)

Mul.grid(row=4, column=3)

Equal = Button(gui, text=' =', fg='black', bg='white',command=equalpress, height=1, width=7)

Equal.grid(row=5, column=2)

Clear = Button(gui, text=' Clear', fg='black', bg='white',command=clear, height=1, width=7)

Clear.grid(row=5, column=1)

Decimal = Button(gui, text=' .', fg='black', bg='white',command=lambda: press("."), height=1, width=7)

Decimal.grid(row=6, column=0)

gui.mainloop()

Explanation:

I fixed several other typos. Your calculator works like a charm!

pythonhow do I fix this error I am gettingcode:from tkinter import *expression = "" def press(num): global

What is the "thinking work" of the computer? How does it help the computer?

Answers

Answer:

El pensamiento computacional es una forma de pensar que utiliza habilidades propias de las ciencias de la computación, como la descomposición y resolución de problemas, lógica, el reconocimiento de patrones y la abstracción

Explanation:

Un computador sirve para guardar los teléfonos de tus amigos, las tareas del colegio, los trabajos de tu papá y mamá y hasta las cartas que le envías a tu novia.

Other Questions
forty five percent by mass of a 350 g mixture is composed of compound a. how much (in grams) of the mixture is compound a? Can you access the client has implemented an enterprise platform and is looking for a tool that will help monitor the ongoing performance of the platform? Briefly discuss how the drought in Kempton park will lead to the declinein food production in the area.ations and solutions When interpreting comprehension as mental structure building, the two control mechanisms that link up with the process of spreading activations are _________ and _________. a. mapping; referencing b. pragmatics; suppression c. shifting; bridging d. enhancement; suppression All of the following were long term effects of industrialization, except Solve for x the triangles are similar question 1 given the architecture and terminology we introduced in chapter 1, where are files stored? Why is Attila the Hun a controversial historical figure? A. Historians dont know much about the origin of the Huns. B. Although he could be cruel and savage, he was also a just and fair leader. C. Attila negotiated a treaty with the Roman Empire but later broke it. D. Historians believe that he is a myth rather than a real historical person. you and your friend are playing a number-guessing game. You ask your friend to think of a positive number, square the number, multiply the results by 2 and then add 3. your friend's final answer is 53. Think about water and how it rolls up on the beach. Think of all the qualities. Is it alive according to the characteristics of life why or why not? Tony has an 8 cm by 12 cm paper rectangle. he folds it in half three times, each time making a smaller rectangle. what is the least possible perimeter of the rectangle after the third fold, in cm? Problem 4 make a clear sketch of vertical the vertical milling process and list 2 milling processes which can be performed on a vertical mill Problem 5 List 3 different purposes for se flux (welding electrode coating) Imagine that you are a member of a noble family in the early middle ages. in 200 words or less, write a letter to the pope thanking him for bringing order to your people. tell him what you feared happening had god and the catholic church not intervened. do you think that fighting between all of the different groups of people would have ever stopped? do you think your family would have survived for much longer? Do you feel like you currently manage your time well? Why or why not?I really don't know what to write If you mutated the laci gene resulting in a mutant lac repressor protein that could bind to the lac operator but not to allolactose, what would be the consequence for transcription of the lac operon?. J'ai 8 centimes,J'ai quatre-vingt-huit centaines.J'ai trente-cing units.J'ai neuf diximes et autant de milliemes.CU J'ai vingt-huit dizaines de milleJ'ai le mme chiffre aux centaines qu'aux centimes.J'ai vingt-huitmillimes, HELP PLSS - Sajan was a student of religion. After he read thel. he decided to go on a spiritual quest He didnot like the idea of rule by 2._or rule by religious leaders. He knew, however, that duringthe rule of the Mauryans, Ashoka changed his life when he turned to3.Seeking such a changefor himself, Sajan became a religious traveler and visited many of the 4._thatAshoka had set up, hoping that this would create good 5.Yet he sensed thathe was not fulfilling his 6.. Then, he heard about the concept of ahimsa. He was impressed and converted to7.By following the idea of harming no living being and by practicing what he learned, he hoped he would reach8. G.9 Define state variables and obtain the state-space format for the following equation with input derivatives (assume that u(t) is a step input): z + 0.1 + 0.5z = 2 + u with z(0) = -1, (0) = 10 Up to 25% of recycled PET can be mixed into the resin for plastic soda bottles without property testing of the mixed material. True or False? Question 21 Fertilization makes a ... cell, which is called .... O haploid-zygote Ohaploid- ovum O diploid-ovum O diploid-zygote 2.5 pts