GlitteryDiamond27
GlitteryDiamond27 GlitteryDiamond27
  • 04-04-2020
  • Computers and Technology
contestada

Dacey needs to calculate the sum of 4,794 and 5,632.

Which Python statement should Dacey use to calculate this?

A)print(4,794 + 5,632)
B)print(4,794 * 5,632)
C)print = 4,794 + 5,632
D)print("4,794 + 5,632")​

Respuesta :

joy123333
joy123333 joy123333
  • 22-04-2020

Answer:

A) print(4,794 + 5,632)

Explanation:

The sum means numbers when added. The plus sign is +.

The asterisk, this symbol: * it means multiplication.

If you input D) print("4,794 + 5,632")​

The quotation marks indicate to output exact what's inside them.

The output would be: 4,794 + 5,632

Print should be used with brackets like print(), print = doesn't do anything.

Answer Link

Otras preguntas

How long did mummification go for poor Egyptians?
Alex makes ceramic bowls to sell at a monthly craft fair in a nearby city. Every month, she spends $50 on materials for the bowls from a local art store. At the
A certain test is worth 155 points. How many points (rounded to the nearest point) are needed to obtain a score of 65%?
What is the main idea of Truman's statement about the use of atomic weapons
What is HIV and the causes
copy this figure onto grid paper. draw line to divide the figure into 4 congruent polygons. how do you know the ploygons are congruent
What long-term effect do you think EU membership will have on nationalism in Europe? Explain.
Explain how engineers and scientists may work together to produce a protein in the lab.
what describes the solvent in any solution
In what respect does an atom of magnesium differ from a magnesium ion (Mg^{2+})? (A)The ion has a more stable electronic arrangement than the atom. (B)The pos