jbminniear1
jbminniear1 jbminniear1
  • 01-05-2020
  • Computers and Technology
contestada

In Python
Write a prompt for the user: Please enter a decimal number:
Write a prompt for the user: Please enter another decimal number:
Display: The sum of the numbers is: [dec1 + dec2].

Respuesta :

TheQuantumPikachu
TheQuantumPikachu TheQuantumPikachu
  • 02-05-2020

Answer:

x=input("Please enter a decimal number: "); y=input("Please enter another decimal number: "); print("The sum of the numbers is: " + (x+y) + ".")

Answer Link

Otras preguntas

Why do people die?????
In 100,000 years, the rotation of Earth will be slower by how many seconds?
What is the value of x? ___ units
what are the 4 main reasons to provide information
Which sentence contains correct capitalization? In “The Rime Of The Ancient Mariner,” the albatross was initially an omen of good luck. In “The Rime of the Anci
A male bird-of-paradise uses a dance to attract mates in which it flaps its tail feathers on the ground and jumps around a potential female mate. A different ma
What was “reborn” during the Renaissance?
18 16 11 45 33 11 33 14 18 11 what is the mode for this data set
Need help ASAP please
A square and an Equilateral triangle have the same perimeter. Each side the triangle is 4 inches longer than each side of the square. What is the perimeter of t