subject

Write a program that prompts the user for two integers and then prints •The sum

•The difference

•The product

•The average

•The distance (absolute value of the difference)

•The maximum (the larger of the two)

•The minimum (the smaller of the two)

Hint: Python defines max and min functions that accept a sequence of values, each separated with a comma.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:00
Ramon is graphing the function  f(x) = 3(4)x. he begins by plotting the initial value. which graph represents his initial step?
Answers: 2
question
Computers and Technology, 22.06.2019 21:40
Develop a function to create a document in the mongodb database “city” in the collection “inspections.” be sure it can handle error conditions gracefully. a. input -> argument to function will be set of key/value pairs in the data type acceptable to the mongodb driver insert api call b. return -> true if successful insert else false (require a screenshot)
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
You know the right answer?
Write a program that prompts the user for two integers and then prints •The sum

•The di...
Questions
question
Health, 20.11.2020 21:30
question
History, 20.11.2020 21:30
question
English, 20.11.2020 21:30
question
Mathematics, 20.11.2020 21:30
question
Mathematics, 20.11.2020 21:30
question
Physics, 20.11.2020 21:30
question
French, 20.11.2020 21:30
question
Mathematics, 20.11.2020 21:30
Questions on the website: 13722360