Addition is a mathematical operation that represents combining collections of objects together into a larger collection


Subtraction is a mathematical operation that represents the operation of removing objects from a collection

String int value

Quality Example

"I need some help though i need each number in that list to be subtract from 27 then if the result is less than 33 add 94 then print the numbers as they were just with that sum completed how do i do this"

from question "Python - Sum a List of Numbers"


"Provided a string i want to convert the chars from the string to an int add a value from another method getkey to this number and if the result is greater than 26 subtract 26"

from question "Char to Int, change int value, back to char, and add to a string"


Quality Example
Greater 2pi

"Just take the difference and if it s negative add 2pi and then if it s greater than 2pi subtract 2pi"

from question "Rotating an Object towards a touch Point"


"We observe that for 7 nodes 1 2 3 5 6 8 9 we are getting further by 1 add 7 9-2 to the score for other 2 4 7 we are getting closer by 1 subtract 2"

from question "Center node in a tree (in a minimum sum of distances sense)"

Less n

"To find all the pairs of integers x and y that sum to n when cubed set x to the largest integer less than the cube root of n set y to 0 then repeatedly add 1 to y if the sum of the cubes is less than n subtract 1 from x if the sum of the cubes is greater than n and output the pair otherwise stopping when x and y cross"

from question "Efficient program to check whether a number can be expressed as sum of two cubes"


"Look at it this way based on your logic while x is greater than 100 add 5 while it s greater than 500 subtract 5 ."

from question "Java, Move Rectangle Back and Forth"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0