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

Whys is it helpful to write a number as a product of primes
Add. –4.75 + 2.19 a. –6.94 b. –2.56 c. 2.56 d. 6.94
report writing about garbage disposal
Which is a compound? water iodine air calcium
Henry is four times older than James. Next year, Henry will be three times older than James will be. How old are Henry and James now? a. James is 3 years old;
Which type of energy drives the water cycle? a. solar b. wind c. geothermal d. nuclear
DNA replication occurs A. so that a cell can grow. B. so that the cell can divide. C. so that proteins can be made. D. so that mutations can be removed.
If a TV 'springs to life', what would that TV have done? A. Suddenly begins working B. Suddenly stops working C. The TV is being sold D. The TV has been auction
Being rejected by a peer group can negatively influence one's self-esteem.
What is the role of DNA helicase during DNA replication?