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

Coaches are ultimately responsible for the safety of their athletes. a. True b. False
One number is 4 more than another, and their sum is 60. What is the smaller number?
A ____________ is an underlying assumption or inference that the writer takes for granted. a. claim b. warrant c. reason d. qualifier
wholesale price is 37.50 sold for 50. what is amount of markup
A ____________ is an underlying assumption or inference that the writer takes for granted. a. claim b. warrant c. reason d. qualifier
mark's computer weighs 35.769 pounds. what is the weight of his computer rounded to the nearest hundredth
what is 6.12 as a fraction
Which of the following is NOT true about running and walking? a. Both do not require special equipment. b. Both can be performed almost anywhere. c. The amount
What does Dubois mean by “stealing the black man’s ballot?”
mark's computer weighs 35.769 pounds. what is the weight of his computer rounded to the nearest hundredth