54.0k views
3 votes
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")​

User Antik
by
5.7k points

1 Answer

7 votes

Answer:

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

Step-by-step 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.

User Ankush Shah
by
5.3k points