Welcome to Westonci.ca, where curiosity meets expertise. Ask any question and receive fast, accurate answers from our knowledgeable community. Get expert answers to your questions quickly and accurately from our dedicated community of professionals. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

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