Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Get quick and reliable solutions to your questions from a community of seasoned experts on our user-friendly platform. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

Read two numbers from user input. Then, print the sum of those numbers. Hint -- copy/paste the following code, then just type code where the questions marks are to finish the code.

Sagot :

The code that read two numbers from user input, then, print the sum of those numbers are as follows:

x = int(input("write a number: "))

y = int(input("write another number: "))

print(x + y)

Code explanation

  • The first line of code ask the user for a number input. The integer input is stored in a variable x.
  • The second line of code ask the user for another number input . The integer input is stored in a variable y.
  • Finally, we print the sum of the user's input.

learn more on python code here: https://brainly.com/question/15183327?referrer=searchResults

View image vintechnology
View image vintechnology